diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-10-02 12:38:09 +0200 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-10-02 12:38:09 +0200 |
commit | 28638ac57c6e9a84979d11f953b377a34ce53828 (patch) | |
tree | 574374b391815a4d7f14751d3a43ba1f22b4eeb7 /system/include | |
parent | 53ee0dca393f6b7c4c0811a4a5b97e56f44083ce (diff) |
move emscripten.h; fixes emscripten_api
Diffstat (limited to 'system/include')
-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); + |