Reference.reachabilityFence(val);
}
+ /**
+ * The short_channel_ids that are being queried
+ *
+ * Returns a copy of the field.
+ */
+ public long[] get_short_channel_ids() {
+ long[] ret = bindings.QueryShortChannelIds_get_short_channel_ids(this.ptr);
+ Reference.reachabilityFence(this);
+ return ret;
+ }
+
/**
* The short_channel_ids that are being queried
*/
Reference.reachabilityFence(short_channel_ids_arg);
if (ret >= 0 && ret <= 4096) { return null; }
org.ldk.structs.QueryShortChannelIds ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new org.ldk.structs.QueryShortChannelIds(null, ret); }
- ret_hu_conv.ptrs_to.add(ret_hu_conv);
+ if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.add(ret_hu_conv); };
return ret_hu_conv;
}
Reference.reachabilityFence(this);
if (ret >= 0 && ret <= 4096) { return null; }
org.ldk.structs.QueryShortChannelIds ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new org.ldk.structs.QueryShortChannelIds(null, ret); }
- ret_hu_conv.ptrs_to.add(this);
+ if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.add(this); };
return ret_hu_conv;
}