Default methods in the glue code

Emscripten's Module object provides some default methods and properties to aid in debugging and ensuring the successful execution of your compiled code. You can utilize the preRun and postRun properties to execute JavaScript code before or after the Module's run() function is called, or pipe the output of the print() and printErr() functions to an HTML element on the page. We'll utilize some of these methods later in this book. You can read more about them at https://kripken.github.io/emscripten-site/docs/api_reference/module.html.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset