Update auto-generated bindings
[ldk-java] / src / main / java / org / ldk / structs / Result_OutPointDecodeErrorZ.java
index 1aceb04caf536017215c9c9c9040126f2f549753..4eb02c3b5c9aa9f35d1c80248945264a3fc8fb37 100644 (file)
@@ -43,7 +43,7 @@ public class Result_OutPointDecodeErrorZ extends CommonBase {
        /**
         * Creates a new CResult_OutPointDecodeErrorZ in the success state.
         */
-       public static Result_OutPointDecodeErrorZ constructor_ok(OutPoint o) {
+       public static Result_OutPointDecodeErrorZ ok(OutPoint o) {
                long ret = bindings.CResult_OutPointDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_OutPointDecodeErrorZ ret_hu_conv = Result_OutPointDecodeErrorZ.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(o);
@@ -53,7 +53,7 @@ public class Result_OutPointDecodeErrorZ extends CommonBase {
        /**
         * Creates a new CResult_OutPointDecodeErrorZ in the error state.
         */
-       public static Result_OutPointDecodeErrorZ constructor_err(DecodeError e) {
+       public static Result_OutPointDecodeErrorZ err(DecodeError e) {
                long ret = bindings.CResult_OutPointDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_OutPointDecodeErrorZ ret_hu_conv = Result_OutPointDecodeErrorZ.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(e);