aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/preamble.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/preamble.js b/src/preamble.js
index bda76c80..0d802409 100644
--- a/src/preamble.js
+++ b/src/preamble.js
@@ -320,6 +320,7 @@ function setValue(ptr, value, type) {
default: abort('invalid type for setValue: ' + type);
}
}
+this['setValue'] = setValue;
// Parallel to setValue.
@@ -337,6 +338,7 @@ function getValue(ptr, type) {
}
return null;
}
+this['getValue'] = getValue;
// Allocates memory for some data and initializes it properly.