aboutsummaryrefslogtreecommitdiff
path: root/src/preamble.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-09-16 15:30:54 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-09-16 15:30:54 -0700
commit16494fdfcf728ff7f45b452e63674ab605de040b (patch)
treec1592ab8f13d414cd7b983b606514818dfe94a05 /src/preamble.js
parente742036d2eddbb0ceef08a68fb22223d55780de5 (diff)
parent4203afeb1a8cf66809aa79f400c0b2d05b51414c (diff)
Merge branch 'llvm-svn' of github.com:kripken/emscripten into llvm-svn
Diffstat (limited to 'src/preamble.js')
-rw-r--r--src/preamble.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/preamble.js b/src/preamble.js
index 8c2a9dcb..9dd7ffaa 100644
--- a/src/preamble.js
+++ b/src/preamble.js
@@ -321,7 +321,7 @@ function setValue(ptr, value, type) {
default: abort('invalid type for setValue: ' + type);
}
}
-this['setValue'] = setValue;
+Module['setValue'] = setValue;
// Parallel to setValue.
@@ -339,7 +339,7 @@ function getValue(ptr, type) {
}
return null;
}
-this['getValue'] = getValue;
+Module['getValue'] = getValue;
// Allocates memory for some data and initializes it properly.