[Java] Update auto-generated Java bindings
[ldk-java] / src / main / java / org / ldk / structs / Result_ReplyShortChannelIdsEndDecodeErrorZ.java
index 1fd7ff0c11292f52a090d8c1626a22a0861ea8e2..62cb3e03320ec3a47a6e2ce640f5449f38fa32e1 100644 (file)
@@ -45,7 +45,7 @@ public class Result_ReplyShortChannelIdsEndDecodeErrorZ extends CommonBase {
        /**
         * Creates a new CResult_ReplyShortChannelIdsEndDecodeErrorZ in the success state.
         */
-       public static Result_ReplyShortChannelIdsEndDecodeErrorZ ok(ReplyShortChannelIdsEnd o) {
+       public static Result_ReplyShortChannelIdsEndDecodeErrorZ ok(org.ldk.structs.ReplyShortChannelIdsEnd o) {
                long ret = bindings.CResult_ReplyShortChannelIdsEndDecodeErrorZ_ok(o == null ? 0 : o.ptr);
                Reference.reachabilityFence(o);
                if (ret >= 0 && ret <= 4096) { return null; }
@@ -57,11 +57,12 @@ public class Result_ReplyShortChannelIdsEndDecodeErrorZ extends CommonBase {
        /**
         * Creates a new CResult_ReplyShortChannelIdsEndDecodeErrorZ in the error state.
         */
-       public static Result_ReplyShortChannelIdsEndDecodeErrorZ err(DecodeError e) {
+       public static Result_ReplyShortChannelIdsEndDecodeErrorZ err(org.ldk.structs.DecodeError e) {
                long ret = bindings.CResult_ReplyShortChannelIdsEndDecodeErrorZ_err(e.ptr);
                Reference.reachabilityFence(e);
                if (ret >= 0 && ret <= 4096) { return null; }
                Result_ReplyShortChannelIdsEndDecodeErrorZ ret_hu_conv = Result_ReplyShortChannelIdsEndDecodeErrorZ.constr_from_ptr(ret);
+               if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.add(e); };
                return ret_hu_conv;
        }