From a4c9f5bd436dae1d99845f50da55bae733129f56 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Mon, 4 Aug 2008 16:20:18 +0200 Subject: Add fixnum-aware macros LRETAIN, LRELEASE, LDESTROY, LAUTORELEASE, LASSIGN_COPY, and LASSIGN. --- MLKThrowException.m | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'MLKThrowException.m') 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 -- cgit v1.2.3