aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-03-16 10:27:51 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-03-16 10:27:51 -0700
commiteb3a262803919851a8079895c0add11628c760b0 (patch)
tree4026c68ad681a057e852e0bd4eaa60e096bb14e9 /src
parent9b64a956949247cb838f03723aa2cde1598e65fc (diff)
get bindings generator to work in asm.js (except for customizeVTable)
Diffstat (limited to 'src')
-rw-r--r--src/settings.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/settings.js b/src/settings.js
index 36f53c3c..37c594ac 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -226,11 +226,13 @@ var NAMED_GLOBALS = 0; // If 1, we use global variables for globals. Otherwise
// they are referred to by a base plus an offset (called an indexed global),
// saving global variables but adding runtime overhead.
-var EXPORT_ALL = 0; // If true, we export all the symbols
var EXPORTED_FUNCTIONS = ['_main']; // Functions that are explicitly exported. These functions are kept alive
// through LLVM dead code elimination, and also made accessible outside of
// the generated code even after running closure compiler (on "Module").
// Note the necessary prefix of "_".
+var EXPORT_ALL = 0; // If true, we export all the symbols
+var EXPORT_BINDINGS = 0; // Export all bindings generator functions (prefixed with emscripten_bind_). This
+ // is necessary to use the bindings generator with asm.js
// JS library functions (C functions implemented in JS)
// that we include by default. If you want to make sure