([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:
Andrew McCallum 1996-01-23 21:13:54 +00:00
parent 8d0219c060
commit c327067a78

View file

@ -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;