Hi again,

On Tue, Mar 01, 2011 at 01:10:35PM +0000, Mathieu Suen wrote:
> 
> There is still on issue. On OSX there is the obc_msgSend function that is 
> missing in the gnustep-base runtime.
> I guess gnustep is using the gcc libobjc in other to send a message to an 
> object.

With the GCC and GNUstep runtimes, you don't have objc_msgSend but
instead you should use objc_msgLookup(), which returns a function
pointer to the implementation fo the method. If you would on OS X do 

id return = objc_msgSend(obj, selector, argument);

that would become something like this:

IMP message = objc_msgLookup(obj, selector);
id return = message(obj, selector, argument);

Hope that helps,

Niels

_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à