aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormey <mey@imvu.com>2012-11-09 17:06:23 -0800
committerJukka Jylänki <jujjyl@gmail.com>2013-04-12 14:22:01 +0300
commitd0de75a62241931436b3902d5bab9d0942a1db6c (patch)
treef2ef7955d60d2105fee41c02c96b08910da4d78b
parentad45b65333af729c8ffd99a8e5264e6d4d40b028 (diff)
Exposing std::function to javascript.
-rwxr-xr-xsrc/embind/embind.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/embind/embind.js b/src/embind/embind.js
index 859181e7..e121732f 100755
--- a/src/embind/embind.js
+++ b/src/embind/embind.js
@@ -505,6 +505,7 @@ function __embind_register_class(
return h;
});
+
Handle.prototype.clone = function() {
if (!this.ptr) {
throw new BindingError(classType.name + ' instance already deleted');