I understand that I can use the main loop registration facilities to cause main to not return and attach a callback to the browser's main loop. Is it possible to have the C code behave more like a library than a program? So, JS starts, calls the C code to initialize, then registers its own main loop/rendering callbacks, from which it calls C to update/draw.
-- 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 emscripten-discuss+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.