aboutsummaryrefslogtreecommitdiff
path: root/system/lib
diff options
context:
space:
mode:
authorTodd Lee <tlee@imvu.com>2013-01-08 00:31:46 -0800
committerJukka Jylänki <jujjyl@gmail.com>2013-04-12 14:22:54 +0300
commitcd3be4e930df1358d9b07746f774a6ad00f3f39c (patch)
treee974c710f04c2910bb8d10ee1132ddb92f787a23 /system/lib
parent5ea90f9345ebfb271dfd960f77fb0c669d30fca6 (diff)
clean-up old interface binding implementation
Diffstat (limited to 'system/lib')
-rwxr-xr-xsystem/lib/embind/bind.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/system/lib/embind/bind.cpp b/system/lib/embind/bind.cpp
index c69c4399..46924505 100755
--- a/system/lib/embind/bind.cpp
+++ b/system/lib/embind/bind.cpp
@@ -220,8 +220,10 @@ namespace emscripten {
// developers, but perhaps the double underscore will scare them away from calling it.
function("__getDerivationPath", &__getDerivationPath);
}));
+ }
-
+ JSInterface* create_js_interface(EM_VAL e) {
+ return new JSInterface(e);
}
}
}