more updates

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38803 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2015-07-16 08:44:15 +00:00
parent 5c53c77757
commit 21636b06d9
19 changed files with 138 additions and 119 deletions

View file

@ -1964,9 +1964,9 @@ compare(id elem1, id elem2, void* context)
passingTest: predicate];
}
- (NSUInteger) sizeInBytes: (NSHashTable*)exclude
- (NSUInteger) sizeInBytesExcluding: (NSHashTable*)exclude
{
NSUInteger size = [super sizeInBytes: exclude];
NSUInteger size = [super sizeInBytesExcluding: exclude];
if (size > 0)
{
@ -1975,7 +1975,7 @@ compare(id elem1, id elem2, void* context)
size += count*sizeof(void*);
while (count-- > 0)
{
size += [[self objectAtIndex: count] sizeInBytes: exclude];
size += [[self objectAtIndex: count] sizeInBytesExcluding: exclude];
}
}
return size;