mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-18 11:41:06 +00:00
([CString -cStringNoCopy]): New method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@764 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3ba969d436
commit
5ccd2bc896
1 changed files with 6 additions and 0 deletions
|
@ -89,11 +89,17 @@
|
|||
return copy;
|
||||
}
|
||||
|
||||
/* xxx This should return an autoreleased, malloc'ed copy */
|
||||
- (const char *) cString
|
||||
{
|
||||
return _contents_chars;
|
||||
}
|
||||
|
||||
- (const char *) cStringNoCopy
|
||||
{
|
||||
return _contents_chars;
|
||||
}
|
||||
|
||||
- (unsigned) count
|
||||
{
|
||||
return _count;
|
||||
|
|
Loading…
Reference in a new issue