mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-19 03:51:38 +00:00
([MemoryStream -initWithCapacity:prefix:]): New method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1118 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a4b570cbf2
commit
1edac6f126
1 changed files with 8 additions and 0 deletions
|
@ -95,6 +95,14 @@ static BOOL debug_memory_stream = NO;
|
||||||
prefix:p position:i];
|
prefix:p position:i];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- initWithCapacity: (unsigned)capacity
|
||||||
|
prefix: (unsigned)p
|
||||||
|
{
|
||||||
|
return [self initWithSize: capacity
|
||||||
|
prefix: p
|
||||||
|
position: 0];
|
||||||
|
}
|
||||||
|
|
||||||
- initWithCapacity: (unsigned)capacity
|
- initWithCapacity: (unsigned)capacity
|
||||||
{
|
{
|
||||||
return [self initWithSize:capacity prefix:0 position:0];
|
return [self initWithSize:capacity prefix:0 position:0];
|
||||||
|
|
Loading…
Reference in a new issue