aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-04-05 14:46:40 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-04-05 14:46:40 -0700
commit6488f5db0822c8572502f34d3171b1ea25f09351 (patch)
tree99552493c01f165b34b56b244f128369dac64e44 /src
parentfc09211df61864f89c9297c3fb334a3779b30fd2 (diff)
export cwrap
Diffstat (limited to 'src')
-rw-r--r--src/preamble.js1
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