aboutsummaryrefslogtreecommitdiff
path: root/system/include/emscripten.h
blob: 5f3689c977b517e67bad6676890526aeea76eef5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);