mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +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
f366d9d303
commit
7ff4d4c9c7
67 changed files with 328 additions and 253 deletions
|
@ -1217,13 +1217,13 @@ done:
|
|||
|
||||
- (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];
|
||||
}
|
||||
|
||||
|
@ -1262,20 +1262,20 @@ done:
|
|||
|
||||
- (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