On Fri, 14 Jun 2002 16:41:57 +0100 (BST) Nicola Pero <[EMAIL PROTECTED]> wrote: > > [...] > > > Replacing the NSLog with > > > NSLog (@"fail on %@\n", NSStringFromClass (cl)); > > [...] > > What's the difference to > > NSLog(@"%s", object_get_class_name(self)); > > Is there any? > NSStringFromClass () is more standard and portable - it will work on any > OpenStep Foundation library, while object_get_class_name (), or > class_get_class_name () is for the GNU runtime only - the Apple runtime > should have similar ones, whose name might be I think something like > object_getClassName ().
That's what it was called on NeXT as well. Make sense, though I thought object_get_class_name() would be a hmm "newer definition" for object_getClassName() ... :-P Thanks, -- Chris _______________________________________________ Bug-gnustep mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gnustep