X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=ldk-java;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FResult_SpendableOutputDescriptorDecodeErrorZ.java;h=176034af01b8d979b101aee87cbe884335325ba8;hp=99aff28b8d2c947f5d1c123f1d62cffdb4fba1aa;hb=b6cc0960eaee5a5bbc7fde79a56152d6dcd649d8;hpb=fb06c6af463da9aa188980c750f787f5e936634a diff --git a/src/main/java/org/ldk/structs/Result_SpendableOutputDescriptorDecodeErrorZ.java b/src/main/java/org/ldk/structs/Result_SpendableOutputDescriptorDecodeErrorZ.java index 99aff28b..176034af 100644 --- a/src/main/java/org/ldk/structs/Result_SpendableOutputDescriptorDecodeErrorZ.java +++ b/src/main/java/org/ldk/structs/Result_SpendableOutputDescriptorDecodeErrorZ.java @@ -43,7 +43,7 @@ public class Result_SpendableOutputDescriptorDecodeErrorZ extends CommonBase { /** * Creates a new CResult_SpendableOutputDescriptorDecodeErrorZ in the success state. */ - public static Result_SpendableOutputDescriptorDecodeErrorZ constructor_ok(SpendableOutputDescriptor o) { + public static Result_SpendableOutputDescriptorDecodeErrorZ ok(SpendableOutputDescriptor o) { long ret = bindings.CResult_SpendableOutputDescriptorDecodeErrorZ_ok(o.ptr); Result_SpendableOutputDescriptorDecodeErrorZ ret_hu_conv = Result_SpendableOutputDescriptorDecodeErrorZ.constr_from_ptr(ret); return ret_hu_conv; @@ -52,7 +52,7 @@ public class Result_SpendableOutputDescriptorDecodeErrorZ extends CommonBase { /** * Creates a new CResult_SpendableOutputDescriptorDecodeErrorZ in the error state. */ - public static Result_SpendableOutputDescriptorDecodeErrorZ constructor_err(DecodeError e) { + public static Result_SpendableOutputDescriptorDecodeErrorZ err(DecodeError e) { long ret = bindings.CResult_SpendableOutputDescriptorDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1); Result_SpendableOutputDescriptorDecodeErrorZ ret_hu_conv = Result_SpendableOutputDescriptorDecodeErrorZ.constr_from_ptr(ret); ret_hu_conv.ptrs_to.add(e);