X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FResult_RouteParametersDecodeErrorZ.ts;h=78480fe35b42526055adfa39f0050fd00f260b09;hb=f3e670e9341decac613d33fc52febf19cea32f20;hp=8c8e18b4ddb25142bbf81660a3410fecb4b61e71;hpb=e30b350e325e7d517ea744578876d473839ad495;p=ldk-java diff --git a/ts/structs/Result_RouteParametersDecodeErrorZ.ts b/ts/structs/Result_RouteParametersDecodeErrorZ.ts index 8c8e18b4..78480fe3 100644 --- a/ts/structs/Result_RouteParametersDecodeErrorZ.ts +++ b/ts/structs/Result_RouteParametersDecodeErrorZ.ts @@ -9,7 +9,7 @@ public class Result_RouteParametersDecodeErrorZ extends CommonBase { } static Result_RouteParametersDecodeErrorZ constr_from_ptr(long ptr) { - if (bindings.LDKCResult_RouteParametersDecodeErrorZ_result_ok(ptr)) { + if (bindings.CResult_RouteParametersDecodeErrorZ_is_ok(ptr)) { return new Result_RouteParametersDecodeErrorZ_OK(null, ptr); } else { return new Result_RouteParametersDecodeErrorZ_Err(null, ptr); @@ -49,6 +49,16 @@ public class Result_RouteParametersDecodeErrorZ extends CommonBase { return ret_hu_conv; } + public boolean is_ok() { + boolean ret = bindings.CResult_RouteParametersDecodeErrorZ_is_ok(this.ptr); + return ret; + } + + public number clone_ptr() { + number ret = bindings.CResult_RouteParametersDecodeErrorZ_clone_ptr(this.ptr); + return ret; + } + public Result_RouteParametersDecodeErrorZ clone() { number ret = bindings.CResult_RouteParametersDecodeErrorZ_clone(this.ptr); Result_RouteParametersDecodeErrorZ ret_hu_conv = Result_RouteParametersDecodeErrorZ.constr_from_ptr(ret);