schellingb / wajic

WebAssembly JavaScript Interface Creator
zlib License
194 stars 5 forks source link

Building self contained libraries #1

Open houmain opened 3 years ago

houmain commented 3 years ago

I would like to use WAjic for compiling C++ libraries to JavaScript. Using one of these works fine, but when multiple scripts are used together they seem to conflict. As far as I can tell, it works flawlessly when each script file creates its own WA object instead of using a global one. In my case, where I do not want to redirect the output, this would be a nice option.

Thank you very much for this fantastic tool! Being dependent on Emscripten was never an option for me. In this project I am using it extensively: https://github.com/houmain/crown