Skip to content

Commit

Permalink
Merge pull request jverkoey#431 from jessevb/master
Browse files Browse the repository at this point in the history
Fixed debugging functions for Objective C++
  • Loading branch information
jverkoey committed Sep 7, 2013
2 parents b81af50 + f441fbb commit abe2942
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/core/src/NIDebuggingTools.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@
*/
#import <TargetConditionals.h>

#if defined __cplusplus
extern "C" {
#endif

int NIIsInDebugger(void);
#if TARGET_IPHONE_SIMULATOR
// We leave the __asm__ in this macro so that when a break occurs, we don't have to step out of
Expand Down Expand Up @@ -182,6 +186,9 @@ xx, ##__VA_ARGS__)
*/
#define NIDINFO(xx, ...) NIDCONDITIONLOG((NILOGLEVEL_INFO <= NIMaxLogLevel), xx, ##__VA_ARGS__)

#if defined __cplusplus
};
#endif

///////////////////////////////////////////////////////////////////////////////////////////////////
/**@}*/// End of Debugging Tools //////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit abe2942

Please sign in to comment.