diff options
author | Matthias Andreas Benkard <matthias@benkard.de> | 2008-08-04 16:20:18 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <matthias@benkard.de> | 2008-08-04 16:20:18 +0200 |
commit | a4c9f5bd436dae1d99845f50da55bae733129f56 (patch) | |
tree | 22a1718222ab8d76f928cfaa4740442a4d43c1fd /MLKRatio.m | |
parent | a0b4d1eafa4312b5970f7268441d848be5231e7b (diff) |
Add fixnum-aware macros LRETAIN, LRELEASE, LDESTROY, LAUTORELEASE, LASSIGN_COPY, and LASSIGN.
Diffstat (limited to 'MLKRatio.m')
-rw-r--r-- | MLKRatio.m | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -35,7 +35,7 @@ +(MLKRatio *) ratioWithMPQ:(mpq_t)mpq { - return AUTORELEASE ([[MLKRatio alloc] initWithMPQ:mpq]); + return LAUTORELEASE ([[MLKRatio alloc] initWithMPQ:mpq]); } -(MLKRatio *) initWithString:(NSString *)string @@ -65,7 +65,7 @@ negative:(BOOL)negative base:(unsigned int)base { - return AUTORELEASE ([[MLKRatio alloc] initWithNumeratorString:numerString + return LAUTORELEASE ([[MLKRatio alloc] initWithNumeratorString:numerString denominatorString:denomString negative:negative base:base]); |