In a C native module, I want to call other jswrap functions and asign my C function as the callback.
How to do that?
jswrap_net_connect(JsVar *options, JsVar *callback, SocketType socketType); // here I want asign mycallback( ) as the callback
© Espruino, powered by microcosm.
Report a problem