[Pharo-project] Alien callback thunk as ExternalAddress?

Schwab,Wilhelm K bschwab at anest.ufl.edu
Wed Mar 21 19:01:51 EDT 2012

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.

Is there a way to get an ExternalAddress that points to the thunk?  Should I even be asking this question? :)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20120321/561de695/attachment-0001.html>

More information about the Pharo-dev mailing list