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:
Richard Frith-MacDonald 2015-07-16 08:44:15 +00:00
parent 46d97b3be0
commit 3b02814665
19 changed files with 138 additions and 119 deletions

View file

@ -972,7 +972,7 @@ static Class GSInlineArrayClass;
return count;
}
- (NSUInteger) sizeInBytes: (NSHashTable*)exclude
- (NSUInteger) sizeInBytesExcluding: (NSHashTable*)exclude
{
NSUInteger size = GSPrivateMemorySize(self, exclude);
@ -983,7 +983,7 @@ static Class GSInlineArrayClass;
size += _capacity*sizeof(void*);
while (count-- > 0)
{
size += [[self objectAtIndex: count] sizeInBytes: exclude];
size += [_contents_array[count] sizeInBytesExcluding: exclude];
}
}
return size;