mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
debug keyed archiving
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25718 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ba2e2b7667
commit
b7f177766f
2 changed files with 10 additions and 4 deletions
|
@ -267,7 +267,7 @@ static unsigned posForIndex(GSIArray array, unsigned index)
|
|||
}
|
||||
else
|
||||
{
|
||||
[m appendFormat: @" (%u)", r.location];
|
||||
[m appendFormat: @" %u", r.location];
|
||||
}
|
||||
}
|
||||
[m appendString: @"]"];
|
||||
|
@ -308,7 +308,7 @@ static unsigned posForIndex(GSIArray array, unsigned index)
|
|||
unsigned v;
|
||||
uint8_t b;
|
||||
|
||||
r = GSIArrayItemAtIndex(_array, 0).ext;
|
||||
r = GSIArrayItemAtIndex(_array, i).ext;
|
||||
v = r.location;
|
||||
do
|
||||
{
|
||||
|
@ -339,8 +339,8 @@ static unsigned posForIndex(GSIArray array, unsigned index)
|
|||
[m appendBytes: &b length: 1];
|
||||
}
|
||||
while (v > 0);
|
||||
[aCoder encodeObject: m forKey: @"NSRangeData"];
|
||||
}
|
||||
[aCoder encodeObject: m forKey: @"NSRangeData"];
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -555,7 +555,7 @@ static unsigned posForIndex(GSIArray array, unsigned index)
|
|||
NSData *data = nil;
|
||||
const uint8_t *bytes;
|
||||
unsigned length;
|
||||
unsigned index;
|
||||
unsigned index = 0;
|
||||
|
||||
if ([aCoder containsValueForKey: @"NSRangeData"])
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue