Skip to content

Commit

Permalink
Added declaration for instrumentObjcMessageSends
Browse files Browse the repository at this point in the history
  • Loading branch information
defagos committed Jun 1, 2012
1 parent ba72acb commit 977bcb1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions CoconutKit-dev/CoconutKit-dev-Prefix.pch
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
#import "HLSOrientationCloner.h"
#import "HLSPlaceholderViewController.h"
#import "HLSReloadable.h"
#import "HLSRuntime.h"
#import "HLSStackController.h"
#import "HLSSubtitleTableViewCell.h"
#import "HLSTableSearchDisplayViewController.h"
Expand Down
12 changes: 12 additions & 0 deletions CoconutKit/Sources/Core/HLSRuntime.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,18 @@

#import <objc/runtime.h>

/**
* Enable or disable logging of the messages sent through objc_msgSend. Messages are logged to
* /tmp/msgSends-XXXX
* with the following format:
* <Receiver object class> <Class which implements the method> <Selector name>
*
* Remark:
* This is a function secretely implemented by the Objective-C runtime, not by CoconutKit. The declaration
* is here only provided for convenience
*/
void instrumentObjcMessageSends(BOOL start);

/**
* Replace the implementation of a class method, given its selector. Return the original implementation
*/
Expand Down

0 comments on commit 977bcb1

Please sign in to comment.