summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Benkard <code@mail.matthias.benkard.de>2008-03-05 18:12:46 +0100
committerMatthias Benkard <code@mail.matthias.benkard.de>2008-03-05 18:12:46 +0100
commit5eb503f29636c95b686cf94e3f90fd7702d5cfaa (patch)
tree4109f53caec1e28bf7864302c826168205c6782c
parent7882cced26764947cc3606f22f80ae00968a373e (diff)
Objective-C layer: Rename the DEBUG macro to DEBUG_P.
darcs-hash:dd8ad0ed0065fd829d29cd74c1d8c7c46144b263
-rw-r--r--Objective-C/libobjcl.m8
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;