mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-01 09:02:01 +00:00
(main): Use object_get_class_name(), not -name.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1376 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5b483ea611
commit
64a4416931
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
/* nsbundle - Program to test out dynamic linking via NSBundle.
|
/* nsbundle - Program to test out dynamic linking via NSBundle.
|
||||||
Copyright (C) 1993,1994,1995 Free Software Foundation, Inc.
|
Copyright (C) 1993,1994,1995, 1996 Free Software Foundation, Inc.
|
||||||
|
|
||||||
Written by: Adam Fedor <fedor@boulder.colorado.edu>
|
Written by: Adam Fedor <fedor@boulder.colorado.edu>
|
||||||
Date: Jul 1995
|
Date: Jul 1995
|
||||||
|
@ -71,7 +71,7 @@ main(int ac, char *av[])
|
||||||
fprintf(stderr, "* ERROR: Can't find principal class\n");
|
fprintf(stderr, "* ERROR: Can't find principal class\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
printf(" Principal class is: %s\n", [object name]);
|
printf(" Principal class is: %s\n", object_get_class_name (object));
|
||||||
|
|
||||||
printf("Testing LoadMe bundle classes...\n");
|
printf("Testing LoadMe bundle classes...\n");
|
||||||
printf(" This is LoadMe:\n");
|
printf(" This is LoadMe:\n");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue