Hello everyone, I am writing an application, where I would need to call the functions of the object existing in C++ from JavaScript, but for now I did not find any reasonable solution reading Embind documentation. I know, that it would be possible to create object in JavaScript and call each function from JavaScript, but I would like to avoid it, just keep the bulk of code in C++.
Is there any way to create object in C++ and access it from JavaScript, or create object in JavaScript and access it from C++? (both would be fine) I could just create object as global variable in C++ and call it every time from the JavaScript binded function, which would be accessable, but that would be far from clean design... Thank you! -- 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.
