mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +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
8d0219c060
commit
c327067a78
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