mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-05 22:20:59 +00:00
([MemoryStream -setFreeWhenDone:]): New method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1815 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
55beb207b3
commit
e07509f0b2
1 changed files with 5 additions and 0 deletions
|
@ -138,6 +138,11 @@ static BOOL debug_memory_stream = NO;
|
|||
return [self initWithCapacity: DEFAULT_MEMORY_STREAM_SIZE];
|
||||
}
|
||||
|
||||
- (void) setFreeWhenDone: (BOOL)f
|
||||
{
|
||||
free_when_done = f;
|
||||
}
|
||||
|
||||
- (BOOL) isWritable
|
||||
{
|
||||
return YES;
|
||||
|
|
Loading…
Reference in a new issue