summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorMatthias Benkard <mulk@minimulk.mst-plus>2008-07-06 23:53:04 +0200
committerMatthias Benkard <mulk@minimulk.mst-plus>2008-07-06 23:53:04 +0200
commit26a11662d6d371a1d0c44de6bb028a1523ba4dc5 (patch)
tree9532f796a01ba5b3000d3e5bd6062c59f2a934b6 /util.h
parentbb79a71e7aa85536d3d60d50913d5fc39c4ac07b (diff)
Add class MLKNumber, unify arithmetic interface.
Diffstat (limited to 'util.h')
-rw-r--r--util.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/util.h b/util.h
index 0e27fc0..092b586 100644
--- a/util.h
+++ b/util.h
@@ -2,11 +2,11 @@
#include <Foundation/NSException.h>
#include <Foundation/NSNull.h>
-#define DEFINE_GMP_OPERATION(SIGNATURE, TYPE, GMPOP, OBJTYPE, CONSTRUCTOR) \
- -(OBJTYPE *) SIGNATURE \
+#define DEFINE_GMP_OPERATION(SIGNATURE, TYPE, GMPOP, RETTYPE, OBJTYPE, CONSTRUCTOR) \
+ -(RETTYPE *) SIGNATURE \
{ \
TYPE##_t mpval; \
- OBJTYPE *result; \
+ RETTYPE *result; \
\
TYPE##_init (mpval); \
GMPOP; \