aboutsummaryrefslogtreecommitdiff
path: root/src/jsifier.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-01-23 14:59:57 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-01-23 14:59:57 -0800
commit41e9d89fd9bd40f24c4188fae18dcad9d4482635 (patch)
treecfeb5e7ce43a5abff45c4af25ab4cf81317007aa /src/jsifier.js
parent2080d7dd4d0db1d5ecfd9d49151bda3c9c008c5d (diff)
always include memcpy
Diffstat (limited to 'src/jsifier.js')
-rw-r--r--src/jsifier.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jsifier.js b/src/jsifier.js
index 69a64d1a..846cb4c1 100644
--- a/src/jsifier.js
+++ b/src/jsifier.js
@@ -71,7 +71,7 @@ function JSify(data, functionsOnly, givenFunctions) {
}
}
} else {
- libFuncsToInclude = ['memset', 'malloc', 'free'];
+ libFuncsToInclude = ['memcpy', 'memset', 'malloc', 'free'];
}
libFuncsToInclude.forEach(function(ident) {
data.functionStubs.push({