SHARE
TWEET

Untitled

quantumech Apr 27th, 2019 (edited) 14 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /**
  2.  * This app is meant to demonstrate the ability for Emscripten to link with DLLs
  3.  * at load time
  4.  *
  5.  * This app is meant to be ran in NodeJS, as you can see from the module importing,
  6.  * however you can do this in inline js as well.
  7.  */
  8.  
  9. // Import main module
  10. let Module = require('./main.js')
  11.  
  12. // Import side module
  13. Module.dynamicLibraries = ['library.wasm']
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top