Re: Wrapping C Libraries callback
- Posted by petelomax Mar 18, 2017
- 1222 views
Icy_Viking said...
When you see something like void(*call back) or something function(void*)?
Please show the actual C code.
You may (very rarely) need to use define_c_func({},addr,args), if what you've got is the raw address of a callback from a C function, but more likely if you need to provide a callback to a C function you need to pass a result from call_back() to c_func.