([NSGCString -emptyCopy]): Method removed. It was part of the

Collecting protocol.
([NSGMutableCString -emptyCopy:]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1947 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
mccallum 1996-11-24 18:27:58 +00:00
parent 898ed24d5f
commit 1429025e5d

View file

@ -79,16 +79,6 @@
return self;
}
/* Empty copy must empty an allocCopy'ed version of self */
- emptyCopy
{
NSGCString *copy = [super emptyCopy];
OBJC_MALLOC(copy->_contents_chars, char, _count+1);
copy->_count = 0;
copy->_contents_chars[0] = '\0';
return copy;
}
- (const char *) cString
{
char *r;
@ -289,16 +279,6 @@ stringDecrementCountAndFillHoleAt(NSGMutableCStringStruct *self,
/* For IndexedCollecting protocol */
/* Empty copy must empty an allocCopy'ed version of self */
- emptyCopy
{
NSGMutableCString *copy = [super emptyCopy];
OBJC_MALLOC(copy->_contents_chars, char, _count+1);
copy->_count = 0;
copy->_contents_chars[0] = '\0';
return copy;
}
- (char) charAtIndex: (unsigned)index
{
CHECK_INDEX_RANGE_ERROR(index, _count);