diff options
author | Chad Austin <caustin@gmail.com> | 2013-03-07 03:08:35 -0800 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2013-04-12 14:25:08 +0300 |
commit | b4b75b51bf0e8c72aa8514eaf708b1d1aae30a8e (patch) | |
tree | d12cea1928d990f0f9d4ea6c40fdd3505f754be1 /src | |
parent | 6a1157c12b27a50dc129b05cdb47bf9adb8812b5 (diff) |
Is this okay? It passes tests.
Diffstat (limited to 'src')
-rwxr-xr-x | src/embind/embind.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/embind/embind.js b/src/embind/embind.js index a644c16c..19c24812 100755 --- a/src/embind/embind.js +++ b/src/embind/embind.js @@ -517,10 +517,10 @@ RegisteredPointer.prototype.toWireType = function(destructors, handle) { // assumes that smart_ptr<T> has an identical binary layout to // smart_ptr<U>. I wonder if that's untrue for any common // smart pointer. - chad - ptr = pointeeType.smartPointerType.rawConstructor( + ptr = this.rawConstructor( ptr, handle.$$.smartPtr); - destructors.push(pointeeType.smartPointerType.rawDestructor); + destructors.push(this.rawDestructor); destructors.push(ptr); } return ptr; |