mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-03 10:00:51 +00:00
revert last change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26999 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a1c8a701ad
commit
1f1e64dac5
1 changed files with 1 additions and 1 deletions
|
@ -798,7 +798,7 @@ static NSMapTable globalClassMap = 0;
|
||||||
NSNonOwnedPointerMapValueCallBacks, 0);
|
NSNonOwnedPointerMapValueCallBacks, 0);
|
||||||
_objMap = NSZoneMalloc(_zone, sizeof(GSIArray_t));
|
_objMap = NSZoneMalloc(_zone, sizeof(GSIArray_t));
|
||||||
count = [_objects count];
|
count = [_objects count];
|
||||||
GSIArrayInitWithZoneAndCapacity(_objMap, _zone, count+1);
|
GSIArrayInitWithZoneAndCapacity(_objMap, _zone, count);
|
||||||
// Add marker for nil object
|
// Add marker for nil object
|
||||||
GSIArrayAddItem(_objMap, (GSIArrayItem)((id)[NilMarker class]));
|
GSIArrayAddItem(_objMap, (GSIArrayItem)((id)[NilMarker class]));
|
||||||
// Add markers for unencoded objects.
|
// Add markers for unencoded objects.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue