aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/embind/embind.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/embind/embind.js b/src/embind/embind.js
index b41137e7..42aff0c4 100755
--- a/src/embind/embind.js
+++ b/src/embind/embind.js
@@ -936,7 +936,7 @@ function RegisteredPointer(
this.rawConstructor = rawConstructor;
this.rawShare = rawShare;
this.rawDestructor = rawDestructor;
-/*
+
if (!isSmartPointer && registeredClass.baseClass === undefined) {
if (isConst) {
this.toWireType = constNoSmartPtrRawPointerToWireType;
@@ -945,9 +945,9 @@ function RegisteredPointer(
this.toWireType = nonConstNoSmartPtrRawPointerToWireType;
this.destructorFunction = null;
}
- } else {*/
+ } else {
this.toWireType = genericPointerToWireType;
- //}
+ }
}
RegisteredPointer.prototype.getPointee = function(ptr) {