diff options
author | Chad Austin <chad@imvu.com> | 2013-04-16 02:13:41 -0700 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2013-04-18 20:08:17 +0300 |
commit | d990cb17d8c43913a733c28601f4319fce90c27a (patch) | |
tree | 1f390315942770b08df008899032d053ccd58f67 /src | |
parent | c2bc8d4f1ed4fe5e7477e4dc5d3f32ca5f1e6a56 (diff) |
Finally! JSInterface is dead
Diffstat (limited to 'src')
-rwxr-xr-x | src/embind/embind.js | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/embind/embind.js b/src/embind/embind.js index bd13087d..440fa267 100755 --- a/src/embind/embind.js +++ b/src/embind/embind.js @@ -1379,29 +1379,6 @@ function __embind_register_enum_value( Enum[name] = Value; } -function __embind_register_interface( - rawType, - name, - rawConstructor, - rawDestructor -) { - name = readLatin1String(name); - rawConstructor = FUNCTION_TABLE[rawConstructor]; - rawDestructor = FUNCTION_TABLE[rawDestructor]; - - registerType(rawType, { - name: name, - rawConstructor: rawConstructor, - rawDestructor: rawDestructor, - toWireType: function(destructors, o) { - var handle = __emval_register(o); - var ptr = this.rawConstructor(handle); - destructors.push(this.rawDestructor, ptr); - return ptr; - }, - }); -} - function __embind_register_constant(name, type, value) { name = readLatin1String(name); whenDependentTypesAreResolved([], [type], function(type) { |