The main docs for this are at http://kripken.github.io/emscripten-site/docs/porting/connecting_cpp_and_javascript/Interacting-with-code.html
On Tue, Jun 23, 2015 at 9:39 AM, Gustavo Bennemann <[email protected]> wrote: > Hi! > > I successfully ported a library to JS using the emscripten. > Now I'd like know what is the best/easy way to make it accessible to JS. > > Should I use library.js > <https://github.com/kripken/emscripten/blob/master/src/library.js> as > reference? How to deal with structs in the JS part of code? > how makeSetValue/makeGetValue work? (Any documentation?) > > Thanks! > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
