On Wed, Mar 21, 2012 at 4:01 PM, Schwab,Wilhelm K <[email protected]>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