mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Patches submitted from May 20 to Aug 28 1997
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2406 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7b12c4af23
commit
a57d791f91
119 changed files with 16409 additions and 1698 deletions
|
@ -22,7 +22,8 @@
|
|||
*/
|
||||
|
||||
#include <gnustep/base/preface.h>
|
||||
#include <Foundation/NSZone.h>
|
||||
#include <Foundation/NSDebug.h>
|
||||
|
||||
#include <string.h> /* For memset(). */
|
||||
|
||||
NSObject *NSAllocateObject (Class aClass, unsigned extraBytes, NSZone *zone)
|
||||
|
@ -36,5 +37,7 @@ NSObject *NSAllocateObject (Class aClass, unsigned extraBytes, NSZone *zone)
|
|||
memset (new, 0, size);
|
||||
new->class_pointer = aClass;
|
||||
}
|
||||
GSDebugAllocationAdd(aClass);
|
||||
return new;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue