Function Pointers
Function Pointers
- Subject: Function Pointers
- From: Francisco Tolmasky <email@hidden>
- Date: Sun, 27 Mar 2005 00:42:27 -0800
I'm trying to interface with some c code that requires me to pass a
function pointer. I was wondering if its possible to pass a specific
objects instance of a function. For example:
a->p_func= myObjCObject->stringValue or something like that. I'd very
much like to avoid writing a wrapper c function just to do
[myObjCObject stringValue] since it will probably require me to write a
lookup table etc etc.
Thanks in advance,
Francisco
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden