> [...]
> > 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 ().


_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to