From 76e4f757cf36018f6b10b91dfbc2a58d87390775 Mon Sep 17 00:00:00 2001 From: pravdomil Date: Wed, 7 Aug 2019 22:45:36 +0200 Subject: [PATCH] Fix the runtime on newer Emscripten versions (#330) --- stdweb-internal-runtime/src/runtime_emscripten.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdweb-internal-runtime/src/runtime_emscripten.js b/stdweb-internal-runtime/src/runtime_emscripten.js index ae171a56..4db735bd 100644 --- a/stdweb-internal-runtime/src/runtime_emscripten.js +++ b/stdweb-internal-runtime/src/runtime_emscripten.js @@ -3,7 +3,7 @@ Module.STDWEB_PRIVATE.alloc = function alloc( size ) { }; Module.STDWEB_PRIVATE.dyncall = function( signature, ptr, args ) { - return Runtime.dynCall( signature, ptr, args ); + return dynCall( signature, ptr, args ); }; Module.STDWEB_PRIVATE.utf8_len = function utf8_len( str ) {