Can you be more specific what you are trying to do that fails? Not sure I follow that.
In general, if you want to get some information from the JS world into compiled C code, you can use ccall or cwrap. - Alon On Mon, Mar 3, 2014 at 6:19 PM, Joel Croteau <[email protected]> wrote: > I have an application that displays data loaded from a server, and I would > like to be able to pass it information on what data to load. Ideally I > would like to have a text box on the page along with a button that calls a > member of a C++ class instance and tells it to update itself. This instance > is running continually via emscripten_set_main_loop. Embind is apparently > not supported in fastcomp, and if I try to export any functions via -s > EXPORTED_FUNCTIONS, the code apparently thinks it's a side module and > doesn't run. Can this be fixed? Failing that, I could pass the data to load > via the HTTP query string. Is there a simple way to access this from within > emscripten? > > -- > 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/groups/opt_out. > -- 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/groups/opt_out.
