[Java] Update auto-generated Java structs
[ldk-java] / src / main / java / org / ldk / structs / ReplyChannelRange.java
index 59f11a759bb8f2d2cce1858ebf6038176d963af5..6a80ecf15dd4d46f0d8046f2051a8e1c6267e65a 100644 (file)
@@ -98,6 +98,17 @@ public class ReplyChannelRange extends CommonBase {
                Reference.reachabilityFence(val);
        }
 
+       /**
+        * The short_channel_ids in the channel range
+        * 
+        * Returns a copy of the field.
+        */
+       public long[] get_short_channel_ids() {
+               long[] ret = bindings.ReplyChannelRange_get_short_channel_ids(this.ptr);
+               Reference.reachabilityFence(this);
+               return ret;
+       }
+
        /**
         * The short_channel_ids in the channel range
         */
@@ -118,8 +129,8 @@ public class ReplyChannelRange extends CommonBase {
                Reference.reachabilityFence(sync_complete_arg);
                Reference.reachabilityFence(short_channel_ids_arg);
                if (ret >= 0 && ret <= 4096) { return null; }
-               ReplyChannelRange ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new ReplyChannelRange(null, ret); }
-               ret_hu_conv.ptrs_to.add(ret_hu_conv);
+               org.ldk.structs.ReplyChannelRange ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new org.ldk.structs.ReplyChannelRange(null, ret); }
+               if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.add(ret_hu_conv); };
                return ret_hu_conv;
        }
 
@@ -136,8 +147,8 @@ public class ReplyChannelRange extends CommonBase {
                long ret = bindings.ReplyChannelRange_clone(this.ptr);
                Reference.reachabilityFence(this);
                if (ret >= 0 && ret <= 4096) { return null; }
-               ReplyChannelRange ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new ReplyChannelRange(null, ret); }
-               ret_hu_conv.ptrs_to.add(this);
+               org.ldk.structs.ReplyChannelRange ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new org.ldk.structs.ReplyChannelRange(null, ret); }
+               if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.add(this); };
                return ret_hu_conv;
        }