mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
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:
parent
145a5670bf
commit
14b91c9052
67 changed files with 328 additions and 253 deletions
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue