summaryrefslogtreecommitdiff
path: root/MLKThrowException.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 /MLKThrowException.m
parenta0b4d1eafa4312b5970f7268441d848be5231e7b (diff)
Add fixnum-aware macros LRETAIN, LRELEASE, LDESTROY, LAUTORELEASE, LASSIGN_COPY, and LASSIGN.
Diffstat (limited to 'MLKThrowException.m')
-rw-r--r--MLKThrowException.m9
1 files changed, 5 insertions, 4 deletions
diff --git a/MLKThrowException.m b/MLKThrowException.m
index c19a3c7..4007220 100644
--- a/MLKThrowException.m
+++ b/MLKThrowException.m
@@ -18,6 +18,7 @@
#include "MLKThrowException.h"
#import "runtime-compatibility.h"
+#import "util.h"
@implementation MLKThrowException
@@ -25,8 +26,8 @@
value:(id)value
{
self = [super init];
- ASSIGN (_catchTag, catchTag);
- ASSIGN (_value, value);
+ LASSIGN (_catchTag, catchTag);
+ LASSIGN (_value, value);
return self;
}
@@ -42,8 +43,8 @@
-(void) dealloc
{
- RELEASE (_catchTag);
- RELEASE (_value);
+ LRELEASE (_catchTag);
+ LRELEASE (_value);
[super dealloc];
}
@end