[erlang-questions] C Ports - how to deal wth C function pointers ?
Sat Apr 21 01:23:46 CEST 2007
I am experimenting with port drivers (building a port driver for cairo
graphics library). Everything goes well as long as I pass simple arguments
to call my c library.
But I need to pass a function pointer to the library. And here comes my
problem. The c library now calls that function. How can I pass its result
back to Erlang ? Is there a way the c-side can initiate the communication ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions