aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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