diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-04-05 14:46:40 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-04-05 14:46:40 -0700 |
commit | 6488f5db0822c8572502f34d3171b1ea25f09351 (patch) | |
tree | 99552493c01f165b34b56b244f128369dac64e44 | |
parent | fc09211df61864f89c9297c3fb334a3779b30fd2 (diff) |
export cwrap
-rw-r--r-- | src/preamble.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/preamble.js b/src/preamble.js index c88a4671..39412bc3 100644 --- a/src/preamble.js +++ b/src/preamble.js @@ -368,6 +368,7 @@ function cwrap(ident, returnType, argTypes) { return ccall(ident, returnType, argTypes, Array.prototype.slice.call(arguments)); } } +Module["cwrap"] = cwrap; // Sets a value in memory in a dynamic way at run-time. Uses the // type data. This is the same as makeSetValue, except that |