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
/
Result_SignDecodeErrorZ.ts
diff --git
a/ts/structs/Result_SignDecodeErrorZ.ts
b/ts/structs/Result_SignDecodeErrorZ.ts
index 564dd18fe1a53d6368d5d29e5a2bcbb1d0ff65b7..ff486f6c4e9248690aab3e66bea2c080bf11f6dd 100644
(file)
--- a/
ts/structs/Result_SignDecodeErrorZ.ts
+++ b/
ts/structs/Result_SignDecodeErrorZ.ts
@@
-9,7
+9,7
@@
public class Result_SignDecodeErrorZ extends CommonBase {
}
static Result_SignDecodeErrorZ constr_from_ptr(long ptr) {
}
static Result_SignDecodeErrorZ constr_from_ptr(long ptr) {
- if (bindings.
LDKCResult_SignDecodeErrorZ_result
_ok(ptr)) {
+ if (bindings.
CResult_SignDecodeErrorZ_is
_ok(ptr)) {
return new Result_SignDecodeErrorZ_OK(null, ptr);
} else {
return new Result_SignDecodeErrorZ_Err(null, ptr);
return new Result_SignDecodeErrorZ_OK(null, ptr);
} else {
return new Result_SignDecodeErrorZ_Err(null, ptr);
@@
-47,10
+47,19
@@
public class Result_SignDecodeErrorZ extends CommonBase {
public static Result_SignDecodeErrorZ constructor_err(DecodeError e) {
number ret = bindings.CResult_SignDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
Result_SignDecodeErrorZ ret_hu_conv = Result_SignDecodeErrorZ.constr_from_ptr(ret);
public static Result_SignDecodeErrorZ constructor_err(DecodeError e) {
number ret = bindings.CResult_SignDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
Result_SignDecodeErrorZ ret_hu_conv = Result_SignDecodeErrorZ.constr_from_ptr(ret);
- ret_hu_conv.ptrs_to.add(e);
return ret_hu_conv;
}
return ret_hu_conv;
}
+ public boolean is_ok() {
+ boolean ret = bindings.CResult_SignDecodeErrorZ_is_ok(this.ptr);
+ return ret;
+ }
+
+ public number clone_ptr() {
+ number ret = bindings.CResult_SignDecodeErrorZ_clone_ptr(this.ptr);
+ return ret;
+ }
+
public Result_SignDecodeErrorZ clone() {
number ret = bindings.CResult_SignDecodeErrorZ_clone(this.ptr);
Result_SignDecodeErrorZ ret_hu_conv = Result_SignDecodeErrorZ.constr_from_ptr(ret);
public Result_SignDecodeErrorZ clone() {
number ret = bindings.CResult_SignDecodeErrorZ_clone(this.ptr);
Result_SignDecodeErrorZ ret_hu_conv = Result_SignDecodeErrorZ.constr_from_ptr(ret);