X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FResult_InitDecodeErrorZ.java;h=22e8cfef97845ccacbd0b728b95000f30bc9567c;hb=b6cc0960eaee5a5bbc7fde79a56152d6dcd649d8;hp=dce2cceddf8f9bfb69e0fe6393c83790368244ac;hpb=fb06c6af463da9aa188980c750f787f5e936634a;p=ldk-java diff --git a/src/main/java/org/ldk/structs/Result_InitDecodeErrorZ.java b/src/main/java/org/ldk/structs/Result_InitDecodeErrorZ.java index dce2cced..22e8cfef 100644 --- a/src/main/java/org/ldk/structs/Result_InitDecodeErrorZ.java +++ b/src/main/java/org/ldk/structs/Result_InitDecodeErrorZ.java @@ -43,7 +43,7 @@ public class Result_InitDecodeErrorZ extends CommonBase { /** * Creates a new CResult_InitDecodeErrorZ in the success state. */ - public static Result_InitDecodeErrorZ constructor_ok(Init o) { + public static Result_InitDecodeErrorZ ok(Init o) { long ret = bindings.CResult_InitDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1); Result_InitDecodeErrorZ ret_hu_conv = Result_InitDecodeErrorZ.constr_from_ptr(ret); ret_hu_conv.ptrs_to.add(o); @@ -53,7 +53,7 @@ public class Result_InitDecodeErrorZ extends CommonBase { /** * Creates a new CResult_InitDecodeErrorZ in the error state. */ - public static Result_InitDecodeErrorZ constructor_err(DecodeError e) { + public static Result_InitDecodeErrorZ err(DecodeError e) { long ret = bindings.CResult_InitDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1); Result_InitDecodeErrorZ ret_hu_conv = Result_InitDecodeErrorZ.constr_from_ptr(ret); ret_hu_conv.ptrs_to.add(e);