FFI callback with multiple parameters
Hey 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 😊
2 Replies