mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Partial recommit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34842 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4db79e6fef
commit
709ddbad52
1 changed files with 12 additions and 10 deletions
|
@ -1379,15 +1379,6 @@ static IMP _xRefImp; /* Serialize a crossref. */
|
|||
_initialPass = NO;
|
||||
(*_eObjImp)(self, eObjSel, rootObject);
|
||||
|
||||
/*
|
||||
* Write sizes of crossref arrays to head of archive.
|
||||
*/
|
||||
[self _serializeHeaderAt: _cursor
|
||||
version: [self systemVersion]
|
||||
classes: _clsMap->nodeCount
|
||||
objects: _uIdMap->nodeCount
|
||||
pointers: _ptrMap->nodeCount];
|
||||
|
||||
_encodingRoot = NO;
|
||||
}
|
||||
|
||||
|
@ -1802,7 +1793,7 @@ static IMP _xRefImp; /* Serialize a crossref. */
|
|||
* Write dummy header
|
||||
*/
|
||||
[self _serializeHeaderAt: _cursor
|
||||
version: 0
|
||||
version: [self systemVersion]
|
||||
classes: 0
|
||||
objects: 0
|
||||
pointers: 0];
|
||||
|
@ -1963,6 +1954,17 @@ static IMP _xRefImp; /* Serialize a crossref. */
|
|||
|
||||
- (NSMutableArray*) _components
|
||||
{
|
||||
if (nil != _dst)
|
||||
{
|
||||
/*
|
||||
* Write sizes of crossref arrays to head of archive.
|
||||
*/
|
||||
[self _serializeHeaderAt: _cursor
|
||||
version: [self systemVersion]
|
||||
classes: _clsMap->nodeCount
|
||||
objects: _uIdMap->nodeCount
|
||||
pointers: _ptrMap->nodeCount];
|
||||
}
|
||||
return _comp;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue