projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update auto-generated bindings
[ldk-java]
/
ts
/
structs
/
Sign.ts
diff --git
a/ts/structs/Sign.ts
b/ts/structs/Sign.ts
index e99c5818519833df7c4442b5ffd45794571b8ae9..1d99ab39897ae324e9dc49a48c47a42c51fd8297 100644
(file)
--- a/
ts/structs/Sign.ts
+++ b/
ts/structs/Sign.ts
@@
-15,7
+15,7
@@
import * as bindings from '../bindings' // TODO: figure out location
this.bindings_instance = null;
} else {
// TODO: private constructor instantiation
this.bindings_instance = null;
} else {
// TODO: private constructor instantiation
- super(bindings.LDKSign_new(arg, baseSign, pubkeys == null ? 0 : pubkeys.
ptr & ~1
));
+ super(bindings.LDKSign_new(arg, baseSign, pubkeys == null ? 0 : pubkeys.
clone_ptr()
));
this.ptrs_to.push(arg);
this.ptrs_to.push(baseSign);
this.ptrs_to.push(arg);
this.ptrs_to.push(baseSign);
@@
-57,6
+57,11
@@
import * as bindings from '../bindings' // TODO: figure out location
return ret;
}
return ret;
}
+ public number clone_ptr() {
+ number ret = bindings.Sign_clone_ptr(this.ptr);
+ return ret;
+ }
+
public Sign clone() {
number ret = bindings.Sign_clone(this.ptr);
Sign ret_hu_conv = new Sign(null, ret);
public Sign clone() {
number ret = bindings.Sign_clone(this.ptr);
Sign ret_hu_conv = new Sign(null, ret);