aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-11-29 18:22:44 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-12-07 14:23:20 -0800
commit23672a410e1c4858865e1681800ba804e552fe03 (patch)
treef5e95a5cb00119304d63e2356c674f1f79c9f9ca /src
parente0784233158154f8850a324375fe83eda8373dd9 (diff)
ensure calloc is exported for gc
Diffstat (limited to 'src')
-rw-r--r--src/library_gc.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/library_gc.js b/src/library_gc.js
index f252f68d..fe4cbf63 100644
--- a/src/library_gc.js
+++ b/src/library_gc.js
@@ -1,5 +1,7 @@
if (GC_SUPPORT) {
+ EXPORTED_FUNCTIONS['_calloc'] = 1;
+
var LibraryGC = {
$GC__deps: ['sbrk'],
$GC: {