diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-08-15 18:16:03 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-08-15 18:16:03 -0700 |
commit | 10cfcfa316a13b94ac7cc1966809e01adafc5f45 (patch) | |
tree | 1f6bb90069efc385193a9cd8c4b9ea7681feca7e | |
parent | 0b5ee13f3806fa3771e1a63d37c6b0535a1d5c52 (diff) |
expose get|setValue
-rw-r--r-- | src/preamble.js | 2 |
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. |