mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
Implemented +alloc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3111 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
bbabd52501
commit
794aa80d2c
2 changed files with 20 additions and 0 deletions
|
@ -45,6 +45,11 @@
|
||||||
return NSAllocateObject (self, 0, z);
|
return NSAllocateObject (self, 0, z);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
+ alloc
|
||||||
|
{
|
||||||
|
return NSAllocateObject (self, 0, NSDefaultMallocZone());
|
||||||
|
}
|
||||||
|
|
||||||
- (void)dealloc
|
- (void)dealloc
|
||||||
{
|
{
|
||||||
if (_zone) {
|
if (_zone) {
|
||||||
|
@ -489,6 +494,11 @@
|
||||||
return NSAllocateObject (self, 0, z);
|
return NSAllocateObject (self, 0, z);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
+ alloc
|
||||||
|
{
|
||||||
|
return NSAllocateObject (self, 0, NSDefaultMallocZone());
|
||||||
|
}
|
||||||
|
|
||||||
+ (void) initialize
|
+ (void) initialize
|
||||||
{
|
{
|
||||||
static int done = 0;
|
static int done = 0;
|
||||||
|
|
|
@ -53,6 +53,11 @@
|
||||||
return NSAllocateObject (self, 0, z);
|
return NSAllocateObject (self, 0, z);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
+ alloc
|
||||||
|
{
|
||||||
|
return NSAllocateObject (self, 0, NSDefaultMallocZone());
|
||||||
|
}
|
||||||
|
|
||||||
- (void)dealloc
|
- (void)dealloc
|
||||||
{
|
{
|
||||||
if (_zone)
|
if (_zone)
|
||||||
|
@ -329,6 +334,11 @@
|
||||||
return NSAllocateObject (self, 0, z);
|
return NSAllocateObject (self, 0, z);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
+ alloc
|
||||||
|
{
|
||||||
|
return NSAllocateObject (self, 0, NSDefaultMallocZone());
|
||||||
|
}
|
||||||
|
|
||||||
+ (void) initialize
|
+ (void) initialize
|
||||||
{
|
{
|
||||||
static int done = 0;
|
static int done = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue