mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Rename NSCString to NSGCString.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@539 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8f9b3e4d4c
commit
72e1d6c760
2 changed files with 10 additions and 10 deletions
|
@ -29,7 +29,7 @@
|
|||
#include <objects/MallocAddress.h>
|
||||
/* memcpy(), strlen(), strcmp() are gcc builtin's */
|
||||
|
||||
@implementation NSCString
|
||||
@implementation NSGCString
|
||||
|
||||
/* This is the designated initializer for this class. */
|
||||
- (id) initWithCStringNoCopy: (char*)byteString
|
||||
|
@ -67,7 +67,7 @@
|
|||
/* Empty copy must empty an allocCopy'ed version of self */
|
||||
- emptyCopy
|
||||
{
|
||||
NSCString *copy = [super emptyCopy];
|
||||
NSGCString *copy = [super emptyCopy];
|
||||
OBJC_MALLOC(copy->_contents_chars, char, _count+1);
|
||||
copy->_count = 0;
|
||||
copy->_contents_chars[0] = '\0';
|
||||
|
@ -128,7 +128,7 @@
|
|||
if (!done)
|
||||
{
|
||||
done = 1;
|
||||
class_add_behavior(self, [NSCString class]);
|
||||
class_add_behavior(self, [NSGCString class]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue