aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Austin <chad@imvu.com>2013-03-14 01:31:47 -0700
committerJukka Jylänki <jujjyl@gmail.com>2013-04-12 14:25:58 +0300
commit8d178bb7a2fa5ee0751f4a4ec391db276e601d95 (patch)
tree821252b82d326eae894524c8afabf4730e01f949
parent7d783d874a38b63515e8e3cc4c0c8ec15e428175 (diff)
Kill some dead todos
-rwxr-xr-xsrc/embind/embind.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/embind/embind.js b/src/embind/embind.js
index 8810727d..805c8b1d 100755
--- a/src/embind/embind.js
+++ b/src/embind/embind.js
@@ -703,7 +703,6 @@ function __embind_register_class(
registeredPointer: registeredPointer,
count: { value: 1 },
ptr: ptr,
- pointeeType: type, // todo: is this necessary?
}
});
});
@@ -739,7 +738,7 @@ function __embind_register_class(
Handle.prototype['delete'] = function() {
if (!this.$$.ptr) {
- throwBindingError(type.name + ' instance already deleted'); // todo: but 'type' hasn't been resolved!?!
+ throwBindingError(type.name + ' instance already deleted');
}
this.$$.count.value -= 1;
@@ -994,14 +993,10 @@ function __embind_register_smart_ptr(
count: {value: 1},
smartPtr: ptr,
ptr: rawGetPointee(ptr),
- // todo: is this necessary?
- pointeeType: pointeeType,
},
});
});
- // TODO: test for SmartPtr.prototype.constructor property?
- // We likely want it distinct from pointeeType.prototype.constructor
Handle.prototype = Object.create(pointeeType.Handle.prototype);
Handle.prototype.clone = function() {