([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:
mccallum 1996-01-23 21:13:54 +00:00
parent 3ba969d436
commit 5ccd2bc896

View file

@ -89,11 +89,17 @@
return copy; return copy;
} }
/* xxx This should return an autoreleased, malloc'ed copy */
- (const char *) cString - (const char *) cString
{ {
return _contents_chars; return _contents_chars;
} }
- (const char *) cStringNoCopy
{
return _contents_chars;
}
- (unsigned) count - (unsigned) count
{ {
return _count; return _count;