mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +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
2e84da89f9
commit
378e4c65b7
1 changed files with 9 additions and 1 deletions
|
@ -66,6 +66,14 @@
|
||||||
return self;
|
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 */
|
/* This override in mutable string classes */
|
||||||
- empty
|
- empty
|
||||||
{
|
{
|
||||||
|
@ -374,7 +382,7 @@
|
||||||
|
|
||||||
- (unsigned) cStringLength
|
- (unsigned) cStringLength
|
||||||
{
|
{
|
||||||
[self subclassResponbility:_cmd];
|
[self subclassResponsibility:_cmd];
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue