Skip to content

Conversation

@bwrsandman
Copy link

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.

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 rawgit example.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant