([ConstantCollection -printCount]): Use object_get_class_name()

instead of sending -name.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1312 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1996-03-30 22:43:33 +00:00
parent 54acc69932
commit b81efade7a

View file

@ -8,7 +8,7 @@
@implementation ConstantCollection (TestingExtras)
- printCount
{
printf("%s: count=%d\n", [self name], [self count]);
printf("%s: count=%d\n", object_get_class_name (self), [self count]);
return self;
}
@end
@ -29,8 +29,8 @@ int main()
int i;
id array = [Array new];
id bag = [Bag new];
id set = [Set new];
// id bag = [Bag new];
// id set = [Set new];
id stack = [Stack new];
id queue = [Queue new];
id gaparray = [GapArray new];