mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +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
|
@ -48,6 +48,11 @@
|
|||
|
||||
@implementation NSGString
|
||||
|
||||
+ allocWithZone: (NSZone*)z
|
||||
{
|
||||
return NSAllocateObject (self, 0, z);
|
||||
}
|
||||
|
||||
- (void)dealloc
|
||||
{
|
||||
if (_zone)
|
||||
|
@ -319,6 +324,11 @@
|
|||
|
||||
// @protocol NSMutableString <NSString>
|
||||
|
||||
+ 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