I believe you can also wrap an emscripten::val as a std::function. -- brion On May 7, 2016 11:20 AM, "awt" <[email protected]> wrote:
> Hi, > > I understand that we can pass Javascript functions to C++ as function > pointers but is it possible to pass it as a std::function? > > -- > 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.
