Checkout this page: https://kripken.github.io/emscripten-site/docs/porting/connecting_cpp_and_javascript/embind.html
/Matjaz On 14. 07. 2017 12:54, Jayesh Salvi wrote: > Hi, > > I see how to pass primitive data types like integers, floats and > strings to/from C++ and Javascript code using cwrap() or ccall(). I > don't see any documented way to do this for non-primitive types like, > structs and classes. Is it possible to do so? > > Thanks, > -- > Jayesh > -- > 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] > <mailto:[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.
