aboutsummaryrefslogtreecommitdiff
path: root/src/embind/embind.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/embind/embind.js')
-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');