wasm_lua icon indicating copy to clipboard operation
wasm_lua copied to clipboard

Explicitly export `ccall`

Open bwrsandman opened this issue 7 years ago • 0 comments

According to the https://kripken.github.io/emscripten-site/docs/porting/connecting_cpp_and_javascript/Interacting-with-code.html, you should explicitly export ccall and cwrap to prevent them from being culled.

This fixes the TypeError: Module.ccall is not a function error message in the rawgit example.

bwrsandman avatar May 15 '18 03:05 bwrsandman