mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 12:16:40 +00:00
revrt archiving changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29877 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
424814815e
commit
0b6a80065e
6 changed files with 28 additions and 28 deletions
|
@ -167,12 +167,12 @@ static GC_descr nodeDesc; // Type descriptor for map node.
|
|||
|
||||
- (void) encodeWithCoder: (NSCoder*)aCoder
|
||||
{
|
||||
NSUInteger count = map.nodeCount;
|
||||
unsigned count = map.nodeCount;
|
||||
SEL sel1 = @selector(encodeObject:);
|
||||
IMP imp1 = [aCoder methodForSelector: sel1];
|
||||
SEL sel2 = @selector(encodeValueOfObjCType:at:);
|
||||
IMP imp2 = [aCoder methodForSelector: sel2];
|
||||
const char *type = @encode(NSUInteger);
|
||||
const char *type = @encode(unsigned);
|
||||
GSIMapEnumerator_t enumerator = GSIMapEnumeratorForMap(&map);
|
||||
GSIMapNode node = GSIMapEnumeratorNextNode(&enumerator);
|
||||
|
||||
|
@ -206,12 +206,12 @@ static GC_descr nodeDesc; // Type descriptor for map node.
|
|||
|
||||
- (id) initWithCoder: (NSCoder*)aCoder
|
||||
{
|
||||
NSUInteger count;
|
||||
unsigned count;
|
||||
id value;
|
||||
NSUInteger valcnt;
|
||||
SEL sel = @selector(decodeValueOfObjCType:at:);
|
||||
IMP imp = [aCoder methodForSelector: sel];
|
||||
const char *utype = @encode(NSUInteger);
|
||||
const char *utype = @encode(unsigned);
|
||||
const char *otype = @encode(id);
|
||||
|
||||
(*imp)(aCoder, sel, utype, &count);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue