From 90e6023292e2bfe927bd633bac42fc355bb9f4d1 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Mon, 4 Aug 2008 18:18:41 +0200 Subject: Add support for fixnums. --- functions.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'functions.h') diff --git a/functions.h b/functions.h index a4989cc..aac32e0 100644 --- a/functions.h +++ b/functions.h @@ -16,13 +16,23 @@ * along with this program. If not, see . */ +#import "MLKInteger.h" + #import #include +NSString *MLKPrintToString (id object); + BOOL MLKFixnumP (id thing); BOOL MLKInstanceP (id thing); + intptr_t MLKIntWithFixnum (id fixnum); id MLKFixnumWithInt (intptr_t value); id MLKIntegerWithInt (intptr_t value); -NSString *MLKPrintToString (id object); +id MLKCanoniseInteger (MLKInteger *x); + +id MLKAddFixnums (id x, id y); +id MLKSubtractFixnums (id x, id y); +id MLKIDivideFixnums (id x, id y); +id MLKMultiplyFixnums (id x, id y); -- cgit v1.2.3