aboutsummaryrefslogtreecommitdiff
path: root/emscripten.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-11-20 18:24:00 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-11-20 18:24:00 -0800
commitf0f9b2c0b024dbe3633b09f5f9546a7bf57da990 (patch)
treedc260f2112798870434f8182c78448667156cbaa /emscripten.py
parentb9f82522ef0cc29975dd837e57e2c641d1086cc2 (diff)
use implementedFunctions from js libraries as well; hello world passes using fastcomp
Diffstat (limited to 'emscripten.py')
-rwxr-xr-xemscripten.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/emscripten.py b/emscripten.py
index 4e1a0301..9dd4c4d1 100755
--- a/emscripten.py
+++ b/emscripten.py
@@ -841,7 +841,7 @@ def emscript_fast(infile, settings, outfile, libraries=[], compiler_engine=None,
exported_implemented_functions = set()
export_bindings = settings['EXPORT_BINDINGS']
export_all = settings['EXPORT_ALL']
- for key in metadata['implementedFunctions']:
+ for key in metadata['implementedFunctions'] + forwarded_json['Functions']['implementedFunctions'].keys(): # XXX perf
if key in all_exported_functions or export_all or (export_bindings and key.startswith('_emscripten_bind')):
exported_implemented_functions.add(key)