as far as i understand wasm, not only the native methods could be imported into js (that worked for me), but also javascript functions could be imported into wasm.
For this, the functions are simply declared with extern in C and compiled, as far as I've seen.
Is there a way to easily declare and compile this in nlvm?
Hello,
as far as i understand wasm, not only the native methods could be imported into js (that worked for me), but also javascript functions could be imported into wasm.
For this, the functions are simply declared with extern in
C
and compiled, as far as I've seen. Is there a way to easily declare and compile this in nlvm?I tried the following:
result is
PS: this is a very great project. I've tried debugging with gdb and it works really well. Good work!