diff options
Diffstat (limited to 'Objective-C')
-rw-r--r-- | Objective-C/libobjcl.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Objective-C/libobjcl.m b/Objective-C/libobjcl.m index e27cbc6..a13a853 100644 --- a/Objective-C/libobjcl.m +++ b/Objective-C/libobjcl.m @@ -38,9 +38,9 @@ #include <objc/objc-class.h> #endif -#define DEBUG 0 +#define DEBUG_P 0 -#if DEBUG +#if DEBUG_P #define TRACE NSLog #else #define TRACE objcl_null_log @@ -732,7 +732,7 @@ objcl_create_imp (IMP callback, for (i = 0; i < argc; i++) arg_types[i + 2] = objcl_pyobjc_arg_signature_to_ffi_type (arg_typespecs[i]); -#if DEBUG +#if DEBUG_P TRACE (@"Return: %s", return_typespec); for (i = 0; i < argc; i++) { @@ -1109,7 +1109,7 @@ objcl_method_selector (void *method) void objcl_test_foo (void) { -#if DEBUG +#if DEBUG_P Class c; id i; |