mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
([String -initWithCStringNoCopy:freeWhenDone:]): New method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@803 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a82c850a89
commit
e1b0d6ef6c
1 changed files with 9 additions and 1 deletions
|
@ -66,6 +66,14 @@
|
|||
return self;
|
||||
}
|
||||
|
||||
/* xxx This is a second "designated" initializer. */
|
||||
- initWithCStringNoCopy: (const char*) aCharPtr
|
||||
freeWhenDone: (BOOL) f
|
||||
{
|
||||
[self subclassResponsibility:_cmd];
|
||||
return self;
|
||||
}
|
||||
|
||||
/* This override in mutable string classes */
|
||||
- empty
|
||||
{
|
||||
|
@ -374,7 +382,7 @@
|
|||
|
||||
- (unsigned) cStringLength
|
||||
{
|
||||
[self subclassResponbility:_cmd];
|
||||
[self subclassResponsibility:_cmd];
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue