here's the official emscripten guide on this topic: https://kripken.github.io/emscripten-site/docs/porting/connecting_cpp_and_javascript/Interacting-with-code.html it's pretty well explained
↧
here's the official emscripten guide on this topic: https://kripken.github.io/emscripten-site/docs/porting/connecting_cpp_and_javascript/Interacting-with-code.html it's pretty well explained