mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
GC changes for MacOS-X compatiblity
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27630 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ff7212cf67
commit
6bccff5fc7
20 changed files with 537 additions and 294 deletions
|
@ -809,6 +809,9 @@ static NSDictionary *makeReference(unsigned ref)
|
|||
/*
|
||||
* Set up map tables.
|
||||
*/
|
||||
#if GS_WITH_GC
|
||||
zone = GSScannedMallocZone();
|
||||
#endif
|
||||
_cIdMap = (GSIMapTable)NSZoneMalloc(zone, sizeof(GSIMapTable_t)*5);
|
||||
_uIdMap = &_cIdMap[1];
|
||||
_repMap = &_cIdMap[2];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue