Hello!
I am embind to wrap a JS library in C++ and I would like to use callbacks
on a val object, such as:
audio.call<void>("addEventListener", "canplaythrough", [](){
// do something
}, true);
I found that the same question was already posed two years ago
(https://groups.google.com/forum/#!topic/emscripten-discuss/okaAYmwglLU)
but there was no good solution at that time.
Has the support for C++ callbacks as arguments been added now?
Many thanks,
Paolo
--
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.