projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make genbindings.sh only build one of java/wasm, test wasm in CI
[ldk-java]
/
ts
/
structs
/
Result_CVec_u8ZPeerHandleErrorZ.ts
diff --git
a/ts/structs/Result_CVec_u8ZPeerHandleErrorZ.ts
b/ts/structs/Result_CVec_u8ZPeerHandleErrorZ.ts
index a5ef5951cb7f74538532aae5919073eba1671dc2..e4ff80b48a1500329977c4511b1f022f2b9d574d 100644
(file)
--- a/
ts/structs/Result_CVec_u8ZPeerHandleErrorZ.ts
+++ b/
ts/structs/Result_CVec_u8ZPeerHandleErrorZ.ts
@@
-9,7
+9,7
@@
public class Result_CVec_u8ZPeerHandleErrorZ extends CommonBase {
}
static Result_CVec_u8ZPeerHandleErrorZ constr_from_ptr(long ptr) {
}
static Result_CVec_u8ZPeerHandleErrorZ constr_from_ptr(long ptr) {
- if (bindings.
LDKCResult_CVec_u8ZPeerHandleErrorZ_result
_ok(ptr)) {
+ if (bindings.
CResult_CVec_u8ZPeerHandleErrorZ_is
_ok(ptr)) {
return new Result_CVec_u8ZPeerHandleErrorZ_OK(null, ptr);
} else {
return new Result_CVec_u8ZPeerHandleErrorZ_Err(null, ptr);
return new Result_CVec_u8ZPeerHandleErrorZ_OK(null, ptr);
} else {
return new Result_CVec_u8ZPeerHandleErrorZ_Err(null, ptr);
@@
-46,6
+46,16
@@
public class Result_CVec_u8ZPeerHandleErrorZ extends CommonBase {
return ret_hu_conv;
}
return ret_hu_conv;
}
+ public boolean is_ok() {
+ boolean ret = bindings.CResult_CVec_u8ZPeerHandleErrorZ_is_ok(this.ptr);
+ return ret;
+ }
+
+ public number clone_ptr() {
+ number ret = bindings.CResult_CVec_u8ZPeerHandleErrorZ_clone_ptr(this.ptr);
+ return ret;
+ }
+
public Result_CVec_u8ZPeerHandleErrorZ clone() {
number ret = bindings.CResult_CVec_u8ZPeerHandleErrorZ_clone(this.ptr);
Result_CVec_u8ZPeerHandleErrorZ ret_hu_conv = Result_CVec_u8ZPeerHandleErrorZ.constr_from_ptr(ret);
public Result_CVec_u8ZPeerHandleErrorZ clone() {
number ret = bindings.CResult_CVec_u8ZPeerHandleErrorZ_clone(this.ptr);
Result_CVec_u8ZPeerHandleErrorZ ret_hu_conv = Result_CVec_u8ZPeerHandleErrorZ.constr_from_ptr(ret);