March 22, 2012
12:18 a.m.
On Wed, Mar 21, 2012 at 4:01 PM, Schwab,Wilhelm K <bschwab@anest.ufl.edu>wrote:
I am getting near to jumping off the callback cliff. My problem is that I have a generated external structure that expects a void pointer (actually a function pointer). The setter sends #getHandle. I tried to hot-wire that by defining CallbackThunk>>getHandle to answer the #address.
But FFICallbackThunk already implements address (inherited from Alien). Why getHandle?
Is there a way to get an ExternalAddress that points to the thunk? Should I even be asking this question? :)
I *think* it should be ExternalAddress new fromInteger: anFFICallbackThunk address
Bill
-- best, Eliot