From 5eb503f29636c95b686cf94e3f90fd7702d5cfaa Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Wed, 5 Mar 2008 18:12:46 +0100 Subject: Objective-C layer: Rename the DEBUG macro to DEBUG_P. darcs-hash:dd8ad0ed0065fd829d29cd74c1d8c7c46144b263 --- Objective-C/libobjcl.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Objective-C') 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 #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; -- cgit v1.2.3