diff options
author | Chad Austin <chad@imvu.com> | 2013-03-14 01:31:47 -0700 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2013-04-12 14:25:58 +0300 |
commit | 8d178bb7a2fa5ee0751f4a4ec391db276e601d95 (patch) | |
tree | 821252b82d326eae894524c8afabf4730e01f949 | |
parent | 7d783d874a38b63515e8e3cc4c0c8ec15e428175 (diff) |
Kill some dead todos
-rwxr-xr-x | src/embind/embind.js | 7 |
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() { |