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