summaryrefslogtreecommitdiff
path: root/MLKStream.m
diff options
context:
space:
mode:
Diffstat (limited to 'MLKStream.m')
-rw-r--r--MLKStream.m9
1 files changed, 5 insertions, 4 deletions
diff --git a/MLKStream.m b/MLKStream.m
index f1c2b32..7cf86fc 100644
--- a/MLKStream.m
+++ b/MLKStream.m
@@ -18,6 +18,7 @@
#import "MLKStream.h"
#import "runtime-compatibility.h"
+#import "util.h"
#import <Foundation/NSException.h>
@@ -52,8 +53,8 @@
encoding:(NSStringEncoding)encoding
{
self = [super init];
- ASSIGN (_input, input);
- ASSIGN (_output, output);
+ LASSIGN (_input, input);
+ LASSIGN (_output, output);
_encoding = encoding;
_cachedChar = 0;
_charCached = NO;
@@ -164,12 +165,12 @@
{
[_input close];
}
- RELEASE (_input);
+ LRELEASE (_input);
if (_closeOutputWhenDone)
{
[_output close];
}
- RELEASE (_output);
+ LRELEASE (_output);
[super dealloc];
}
@end