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