wasm_lua icon indicating copy to clipboard operation
wasm_lua copied to clipboard

Lua VM running in a WASM environment

Results 2 wasm_lua issues
Sort by recently updated
recently updated
newest added

Update lua to 5.4.0. Add example exporting javascript function to lua.

According to the [https://kripken.github.io/emscripten-site/docs/porting/connecting_cpp_and_javascript/Interacting-with-code.html](Docs), 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...