mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
move code around a bit to work without gc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28193 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5921606e39
commit
4243d08bfe
1 changed files with 4 additions and 5 deletions
|
@ -744,6 +744,10 @@ static void* rrealloc (NSZone *zone, void *ptr, size_t size);
|
|||
static void rffree (NSZone *zone, void *ptr);
|
||||
static void rnfree (NSZone *zone, void *ptr);
|
||||
|
||||
/*
|
||||
* Lists of zones to be used to determine if a pointer is in a zone.
|
||||
*/
|
||||
static NSZone *zone_list = 0;
|
||||
|
||||
static inline void
|
||||
destroy_zone(NSZone* zone)
|
||||
|
@ -1814,11 +1818,6 @@ rrealloc (NSZone *zone, void *ptr, size_t size)
|
|||
|
||||
static void rnfree (NSZone *zone, void *ptr);
|
||||
|
||||
/*
|
||||
* Lists of zones to be used to determine if a pointer is in a zone.
|
||||
*/
|
||||
static NSZone *zone_list = 0;
|
||||
|
||||
/**
|
||||
* Searches and finds the zone ptr was allocated from. The speed depends
|
||||
* upon the number of zones and their size.
|
||||
|
|
Loading…
Reference in a new issue