diff options
author | Matthias Benkard <mulk@minimulk.mst-plus> | 2008-07-06 23:53:04 +0200 |
---|---|---|
committer | Matthias Benkard <mulk@minimulk.mst-plus> | 2008-07-06 23:53:04 +0200 |
commit | 26a11662d6d371a1d0c44de6bb028a1523ba4dc5 (patch) | |
tree | 9532f796a01ba5b3000d3e5bd6062c59f2a934b6 /util.h | |
parent | bb79a71e7aa85536d3d60d50913d5fc39c4ac07b (diff) |
Add class MLKNumber, unify arithmetic interface.
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; \ |