X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FResult_UnsignedChannelUpdateDecodeErrorZ.ts;h=eeaf83dc35bebfb0aa0a50f58d56db62c1c7eba6;hb=f3e670e9341decac613d33fc52febf19cea32f20;hp=979f6b492a8a38495d673d9d4c16919d62502c66;hpb=9d146759e11191b55130be7a1b6988d3f289a168;p=ldk-java diff --git a/ts/structs/Result_UnsignedChannelUpdateDecodeErrorZ.ts b/ts/structs/Result_UnsignedChannelUpdateDecodeErrorZ.ts index 979f6b49..eeaf83dc 100644 --- a/ts/structs/Result_UnsignedChannelUpdateDecodeErrorZ.ts +++ b/ts/structs/Result_UnsignedChannelUpdateDecodeErrorZ.ts @@ -9,7 +9,7 @@ public class Result_UnsignedChannelUpdateDecodeErrorZ extends CommonBase { } static Result_UnsignedChannelUpdateDecodeErrorZ constr_from_ptr(long ptr) { - if (bindings.LDKCResult_UnsignedChannelUpdateDecodeErrorZ_result_ok(ptr)) { + if (bindings.CResult_UnsignedChannelUpdateDecodeErrorZ_is_ok(ptr)) { return new Result_UnsignedChannelUpdateDecodeErrorZ_OK(null, ptr); } else { return new Result_UnsignedChannelUpdateDecodeErrorZ_Err(null, ptr); @@ -49,6 +49,16 @@ public class Result_UnsignedChannelUpdateDecodeErrorZ extends CommonBase { return ret_hu_conv; } + public boolean is_ok() { + boolean ret = bindings.CResult_UnsignedChannelUpdateDecodeErrorZ_is_ok(this.ptr); + return ret; + } + + public number clone_ptr() { + number ret = bindings.CResult_UnsignedChannelUpdateDecodeErrorZ_clone_ptr(this.ptr); + return ret; + } + public Result_UnsignedChannelUpdateDecodeErrorZ clone() { number ret = bindings.CResult_UnsignedChannelUpdateDecodeErrorZ_clone(this.ptr); Result_UnsignedChannelUpdateDecodeErrorZ ret_hu_conv = Result_UnsignedChannelUpdateDecodeErrorZ.constr_from_ptr(ret);