Unable to pass "userdata" to C++ API `module::link`
Author: hzyCreated Dec 25, 2022Updated Dec 25, 2022
Currently, users of the C++ API cannot pass
- a callable object
- or a combination of C function pointer and its associated userdata
to the module::link method.
This makes implementing some features difficult, like linking a function with state.
Expected behavior:
There are some way for users of C++ API to link a function with associated userdata.
Source: wasm3/wasm3