diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-09-03 14:56:00 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-09-03 14:57:44 -0700 |
commit | f2783ad48564c706713b05bd9f4679340ce8bab4 (patch) | |
tree | c1c4c47055d7b8538a79f58f0d27248c6506909d /emscripten.py | |
parent | dcf8f0c29c17dbe4cc2829573063996a04c54fee (diff) |
refactor dlfcn support into DLFCN
Diffstat (limited to 'emscripten.py')
-rwxr-xr-x | emscripten.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emscripten.py b/emscripten.py index 3b459760..2e727d51 100755 --- a/emscripten.py +++ b/emscripten.py @@ -638,7 +638,7 @@ Runtime.stackRestore = function(top) { asm['stackRestore'](top) }; if settings.get('DLOPEN_SUPPORT'): funcs_js.append(''' asm.maxFunctionIndex = %(max_mask)d; - Runtime.registerFunctions(asm, %(max_mask)d+1, %(sigs)s, Module); + DLFCN.registerFunctions(asm, %(max_mask)d+1, %(sigs)s, Module); Module.SYMBOL_TABLE = SYMBOL_TABLE; ''' % { 'max_mask': max_mask, 'sigs': str(map(str, last_forwarded_json['Functions']['tables'].keys())) }) |