Update auto-generated bindings
[ldk-java] / src / main / java / org / ldk / structs / Result_DirectionalChannelInfoDecodeErrorZ.java
index 46ef11fa69e8d2b357c00ddf645db3209fb3ccaf..49972e5ec82d87e09c674ccce2586ee398c3d7f9 100644 (file)
@@ -43,7 +43,7 @@ public class Result_DirectionalChannelInfoDecodeErrorZ extends CommonBase {
        /**
         * Creates a new CResult_DirectionalChannelInfoDecodeErrorZ in the success state.
         */
-       public static Result_DirectionalChannelInfoDecodeErrorZ constructor_ok(DirectionalChannelInfo o) {
+       public static Result_DirectionalChannelInfoDecodeErrorZ ok(DirectionalChannelInfo o) {
                long ret = bindings.CResult_DirectionalChannelInfoDecodeErrorZ_ok(o == null ? 0 : o.ptr & ~1);
                Result_DirectionalChannelInfoDecodeErrorZ ret_hu_conv = Result_DirectionalChannelInfoDecodeErrorZ.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(o);
@@ -53,7 +53,7 @@ public class Result_DirectionalChannelInfoDecodeErrorZ extends CommonBase {
        /**
         * Creates a new CResult_DirectionalChannelInfoDecodeErrorZ in the error state.
         */
-       public static Result_DirectionalChannelInfoDecodeErrorZ constructor_err(DecodeError e) {
+       public static Result_DirectionalChannelInfoDecodeErrorZ err(DecodeError e) {
                long ret = bindings.CResult_DirectionalChannelInfoDecodeErrorZ_err(e == null ? 0 : e.ptr & ~1);
                Result_DirectionalChannelInfoDecodeErrorZ ret_hu_conv = Result_DirectionalChannelInfoDecodeErrorZ.constr_from_ptr(ret);
                ret_hu_conv.ptrs_to.add(e);