FFI callback with multiple parameters
π§βπ»JS / TS Developmentπ°οΈFFI / Native Code
Deno.* APIs
Deno.* APIsHey could someone please help me with this interface definition:
I would like to know on how to properly define my FFI interface for that kind of C++ function. I want to understand how this works correctly, because I think my current approach is completely wrong
I want to transmit kind of an βobjectβ from C++ to TypeScript. And I read somewhere that this is the preferred method, using a callback function.
Thanks
I would like to know on how to properly define my FFI interface for that kind of C++ function. I want to understand how this works correctly, because I think my current approach is completely wrong
I want to transmit kind of an βobjectβ from C++ to TypeScript. And I read somewhere that this is the preferred method, using a callback function.
Thanks
