diff options
author | Anthony Pesch <anthony@usamp.com> | 2013-04-23 22:59:08 -0700 |
---|---|---|
committer | Anthony Pesch <anthony@usamp.com> | 2013-04-23 22:59:08 -0700 |
commit | 415748447b7552b01169aecd006223323352b287 (patch) | |
tree | d2bc4436eb483c1c21b38995d549e2b291db1543 /src/runtime.js | |
parent | 9971952dd5199c0b202397ae7d45d7c686c477ef (diff) |
Persist return value for wrapped functions
Diffstat (limited to 'src/runtime.js')
-rw-r--r-- | src/runtime.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime.js b/src/runtime.js index 5b9a8134..5269301c 100644 --- a/src/runtime.js +++ b/src/runtime.js @@ -350,7 +350,7 @@ var Runtime = { assert(sig); if (!Runtime.funcWrappers[func]) { Runtime.funcWrappers[func] = function() { - Runtime.dynCall(sig, func, arguments); + return Runtime.dynCall(sig, func, arguments); }; } return Runtime.funcWrappers[func]; |