mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
([MemoryStream -init]): New method, otherwise naive creation dies with
NULL buffer. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@828 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3462f391c1
commit
2190ba7619
1 changed files with 5 additions and 0 deletions
|
@ -105,6 +105,11 @@ static BOOL debug_memory_stream = NO;
|
|||
return [self initWithCapacity:s];
|
||||
}
|
||||
|
||||
- init
|
||||
{
|
||||
return [self initWithCapacity: DEFAULT_MEMORY_STREAM_SIZE];
|
||||
}
|
||||
|
||||
- (BOOL) isWritable
|
||||
{
|
||||
return YES;
|
||||
|
|
Loading…
Reference in a new issue