diff options
author | Matthias Benkard <code@mail.matthias.benkard.de> | 2008-03-05 18:12:46 +0100 |
---|---|---|
committer | Matthias Benkard <code@mail.matthias.benkard.de> | 2008-03-05 18:12:46 +0100 |
commit | 5eb503f29636c95b686cf94e3f90fd7702d5cfaa (patch) | |
tree | 4109f53caec1e28bf7864302c826168205c6782c | |
parent | 7882cced26764947cc3606f22f80ae00968a373e (diff) |
Objective-C layer: Rename the DEBUG macro to DEBUG_P.
darcs-hash:dd8ad0ed0065fd829d29cd74c1d8c7c46144b263
-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; |