fixups for libobjc2

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29753 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2010-02-25 18:49:31 +00:00
parent 145a5670bf
commit 14b91c9052
67 changed files with 328 additions and 253 deletions

View file

@ -519,13 +519,13 @@
- (id) initWithData: (NSData *)data
{
RELEASE(self);
DESTROY(self);
return [[GSDataInputStream alloc] initWithData: data];
}
- (id) initWithFileAtPath: (NSString *)path
{
RELEASE(self);
DESTROY(self);
return [[GSFileInputStream alloc] initWithFileAtPath: path];
}
@ -564,20 +564,20 @@
- (id) initToBuffer: (uint8_t *)buffer capacity: (NSUInteger)capacity
{
RELEASE(self);
DESTROY(self);
return [[GSBufferOutputStream alloc] initToBuffer: buffer capacity: capacity];
}
- (id) initToFileAtPath: (NSString *)path append: (BOOL)shouldAppend
{
RELEASE(self);
DESTROY(self);
return [[GSFileOutputStream alloc] initToFileAtPath: path
append: shouldAppend];
}
- (id) initToMemory
{
RELEASE(self);
DESTROY(self);
return [[GSDataOutputStream alloc] init];
}