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_NoneSemanticErrorZ.ts
diff --git
a/ts/structs/Result_NoneSemanticErrorZ.ts
b/ts/structs/Result_NoneSemanticErrorZ.ts
index b374cfd52001e5a000a2650d9f6f029d67ef2f57..ec49cdb350ef2596d459ea5b2c0797464ea4a8e2 100644
(file)
--- a/
ts/structs/Result_NoneSemanticErrorZ.ts
+++ b/
ts/structs/Result_NoneSemanticErrorZ.ts
@@
-9,7
+9,7
@@
public class Result_NoneSemanticErrorZ extends CommonBase {
}
static Result_NoneSemanticErrorZ constr_from_ptr(long ptr) {
}
static Result_NoneSemanticErrorZ constr_from_ptr(long ptr) {
- if (bindings.
LDKCResult_NoneSemanticErrorZ_result
_ok(ptr)) {
+ if (bindings.
CResult_NoneSemanticErrorZ_is
_ok(ptr)) {
return new Result_NoneSemanticErrorZ_OK(null, ptr);
} else {
return new Result_NoneSemanticErrorZ_Err(null, ptr);
return new Result_NoneSemanticErrorZ_OK(null, ptr);
} else {
return new Result_NoneSemanticErrorZ_Err(null, ptr);
@@
-41,6
+41,16
@@
public class Result_NoneSemanticErrorZ extends CommonBase {
return ret_hu_conv;
}
return ret_hu_conv;
}
+ public boolean is_ok() {
+ boolean ret = bindings.CResult_NoneSemanticErrorZ_is_ok(this.ptr);
+ return ret;
+ }
+
+ public number clone_ptr() {
+ number ret = bindings.CResult_NoneSemanticErrorZ_clone_ptr(this.ptr);
+ return ret;
+ }
+
public Result_NoneSemanticErrorZ clone() {
number ret = bindings.CResult_NoneSemanticErrorZ_clone(this.ptr);
Result_NoneSemanticErrorZ ret_hu_conv = Result_NoneSemanticErrorZ.constr_from_ptr(ret);
public Result_NoneSemanticErrorZ clone() {
number ret = bindings.CResult_NoneSemanticErrorZ_clone(this.ptr);
Result_NoneSemanticErrorZ ret_hu_conv = Result_NoneSemanticErrorZ.constr_from_ptr(ret);