On May 19, 2005, at 7:49 PM, Mike Stump wrote:

On May 19, 2005, at 4:08 PM, Lloyd Dupont wrote:
I want to do a binding to ObjectiveC

For how you described the question, libffi would be the natural choice and obviates the need for asms or machine dependencies. Maybe Andrew might have some insight into something libobjc specific that might help...

The real question is why do you need objc_msg_send? That function is only used for the NeXT runtime. You can use the __builtin_apply/__builtin_return to implement this but I will warn you that they are really don't work for a lot of stuff. You should be using higher level constructs like -[forward::] and stuff.

Thanks,
Andrew Pinski



Reply via email to