gnustep-dev
[Top][All Lists]
Advanced

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

RE: Forwarding and the GNU runtime one more time (was ANN : GNUstep 2.6.


From: Nicola Pero
Subject: RE: Forwarding and the GNU runtime one more time (was ANN : GNUstep 2.6.0 for openSUSE 11.4)
Date: Wed, 22 Jun 2011 02:31:13 +0200 (CEST)

> When I link gnustep-base in, then objc_msg_lookup throws an 
> NSInvalidArgumentException,
> because of the unrecognized selector. So objc_msg_lookup is not something I 
> can use.

What are you trying to achieve ?  If you just want to check if a class responds 
to a
selector, why don't you simply use class_respondsToSelector() ?

That's native in the Modern GNU runtime API, but also available through 
gnustep-base's
compatibility layer even with older GNU runtimes.

Thanks




reply via email to

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