memory usage interrogation

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38799 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2015-07-15 14:14:21 +00:00
parent 8af37de38b
commit 3efbfa42e2
17 changed files with 428 additions and 16 deletions

View file

@ -5923,6 +5923,17 @@ static NSFileManager *fm = nil;
return GSPropertyListFromStringsFormat(self);
}
- (NSUInteger) sizeInBytes: (NSHashTable*)exclude
{
NSUInteger size = [super sizeInBytes: exclude];
if (size > 0)
{
size += sizeof(unichar) * [self length];
}
return size;
}
@end
/**