aboutsummaryrefslogtreecommitdiff
path: root/system/lib/embind/bind.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'system/lib/embind/bind.cpp')
-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);
}
}
}