Manuel Guesdon wrote:
Hi David,
Thank you for the explanation.
At the begining my problem was with GSObjCIsKindOf wich wasn't returning YES when I
didn't Log the class before (more
precisely now with your help, when the class has not received a message before).
GSObjCIsKindOf use class_get_super_class and that's why I've got the problem.
So I think there's a bug in GSObjCIsKindOf as it doesn't return the good result under
this case.
Using GSObjCSuper doesn't seems t to be a solution as it call class_get_super_class
Is there a way to know if a class is initialized and force initialization in GSObjCSuper and GSObjCIsKindOf if it
is not ?
Hmm. and class_superclass_of_class isn't public :-/, I don't have time
right now, but I'll look into the runtime's as soon as I can, to see
what we can do in GSObjCSuper to insure the reurn value is an intialized
class. I've just posted a patch to make -base use many of our
GSObjCRuntime functions. So if we can fix GSObjCSuper, the rest should
fall into place.
Cheers,
David
_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep