diff options
Diffstat (limited to 'system/include/emscripten.h')
-rw-r--r-- | system/include/emscripten.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/system/include/emscripten.h b/system/include/emscripten.h new file mode 100644 index 00000000..5f3689c9 --- /dev/null +++ b/system/include/emscripten.h @@ -0,0 +1,13 @@ +/** + * This file contains a few useful things for compiling C/C++ code + * with Emscripten, an LLVM-to-JavaScript compiler. + * + * The code can be used permissively under the MIT license. + * + * http://emscripten.org + */ + +// Interface to the underlying JS engine. This function will +// eval() the given script. +extern void emscripten_run_script(const char *script); + |