blob: b06f3781497fe244b87539395143b40d24514d36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/**
* 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
*/
#undef __i386__
#undef __x86_64__
// Interface to the underlying JS engine. This function will
// eval() the given script.
extern void emscripten_run_script(const char *script);
|