bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: objc_next_class


From: Chris B . Vetter
Subject: Re: objc_next_class
Date: 2002年6月14日 08:47:30 -0700

On 2002年6月14日 16:41:57 +0100 (BST)
Nicola Pero <nicola@brainstorm.co.uk> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]

AltStyle によって変換されたページ (->オリジナル) /