mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Performance enhancements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3110 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e6d36d8e5c
commit
bbabd52501
4 changed files with 35 additions and 1 deletions
|
@ -40,6 +40,11 @@
|
|||
|
||||
@implementation NSGCString
|
||||
|
||||
+ allocWithZone: (NSZone*)z
|
||||
{
|
||||
return NSAllocateObject (self, 0, z);
|
||||
}
|
||||
|
||||
- (void)dealloc
|
||||
{
|
||||
if (_zone) {
|
||||
|
@ -479,6 +484,11 @@
|
|||
|
||||
@implementation NSGMutableCString
|
||||
|
||||
+ allocWithZone: (NSZone*)z
|
||||
{
|
||||
return NSAllocateObject (self, 0, z);
|
||||
}
|
||||
|
||||
+ (void) initialize
|
||||
{
|
||||
static int done = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue