summaryrefslogtreecommitdiff
path: root/MLKRatio.m
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-08-04 16:20:18 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-08-04 16:20:18 +0200
commita4c9f5bd436dae1d99845f50da55bae733129f56 (patch)
tree22a1718222ab8d76f928cfaa4740442a4d43c1fd /MLKRatio.m
parenta0b4d1eafa4312b5970f7268441d848be5231e7b (diff)
Add fixnum-aware macros LRETAIN, LRELEASE, LDESTROY, LAUTORELEASE, LASSIGN_COPY, and LASSIGN.
Diffstat (limited to 'MLKRatio.m')
-rw-r--r--MLKRatio.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/MLKRatio.m b/MLKRatio.m
index 4b0b23e..bb164dc 100644
--- a/MLKRatio.m
+++ b/MLKRatio.m
@@ -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]);