summaryrefslogtreecommitdiff
path: root/MLKRoot.m
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-08-04 18:44:16 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-08-04 18:44:16 +0200
commitce1bfc2039cc673c3c9099933c05c9fac3e88ae9 (patch)
tree91380866c5adc53e908e977a7734f11a2bd08f86 /MLKRoot.m
parent90e6023292e2bfe927bd633bac42fc355bb9f4d1 (diff)
Make it possible to disable fixnum support by supplying -DNO_FIXNUMS as a compiler flag.
Diffstat (limited to 'MLKRoot.m')
-rw-r--r--MLKRoot.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/MLKRoot.m b/MLKRoot.m
index 5f70830..9077335 100644
--- a/MLKRoot.m
+++ b/MLKRoot.m
@@ -170,8 +170,13 @@ static id truify (BOOL value)
+(NSArray *) fixnum_eq:(NSArray *)args
{
+#ifdef NO_FIXNUMS
+ RETURN_VALUE (truify ([[args objectAtIndex:0]
+ isEqual:[args objectAtIndex:1]]));
+#else
RETURN_VALUE (truify (denullify([args objectAtIndex:0])
== denullify([args objectAtIndex:1])));
+#endif
}
+(NSArray *) symbolp:(NSArray *)args