aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJukka Jylanki <jjylanki@imvu.com>2013-04-04 18:08:04 +0300
committerJukka Jylänki <jujjyl@gmail.com>2013-04-12 14:27:34 +0300
commit8ee0c6a12d1488c2fa131da25db91de0d2d44203 (patch)
tree9568016993744f9f27efa2b2f35549ea3df2743b
parent545dc8ef97e90ffc1a5a62c59edffdc6e3b8e0b3 (diff)
Use _embind_repr instead of IMVU.repr in embind.js, since IMVU.repr is not available in kripken/emscripten.
-rwxr-xr-xsrc/embind/embind.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/embind/embind.js b/src/embind/embind.js
index a38e0bcc..ee717f4b 100755
--- a/src/embind/embind.js
+++ b/src/embind/embind.js
@@ -641,7 +641,7 @@ RegisteredPointer.prototype.toWireType = function(destructors, handle) {
}
}
if (!(handle instanceof this.registeredClass.constructor)) {
- throwBindingError('Expected null or instance of ' + this.name + ', got ' + IMVU.repr(handle));
+ throwBindingError('Expected null or instance of ' + this.name + ', got ' + _embind_repr(handle));
}
// TODO: this is not strictly true
// We could support BY_EMVAL conversions from raw pointers to smart pointers