long ret = bindings.ChannelMonitor_clone(this.ptr);
Reference.reachabilityFence(this);
if (ret >= 0 && ret <= 4096) { return null; }
- ChannelMonitor ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new ChannelMonitor(null, ret); }
+ org.ldk.structs.ChannelMonitor ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new org.ldk.structs.ChannelMonitor(null, ret); }
ret_hu_conv.ptrs_to.add(this);
return ret_hu_conv;
}
MonitorEvent[] ret_conv_14_arr = new MonitorEvent[ret_conv_14_len];
for (int o = 0; o < ret_conv_14_len; o++) {
long ret_conv_14 = ret[o];
- MonitorEvent ret_conv_14_hu_conv = MonitorEvent.constr_from_ptr(ret_conv_14);
+ org.ldk.structs.MonitorEvent ret_conv_14_hu_conv = org.ldk.structs.MonitorEvent.constr_from_ptr(ret_conv_14);
ret_conv_14_hu_conv.ptrs_to.add(this);
ret_conv_14_arr[o] = ret_conv_14_hu_conv;
}
Event[] ret_conv_7_arr = new Event[ret_conv_7_len];
for (int h = 0; h < ret_conv_7_len; h++) {
long ret_conv_7 = ret[h];
- Event ret_conv_7_hu_conv = Event.constr_from_ptr(ret_conv_7);
+ org.ldk.structs.Event ret_conv_7_hu_conv = org.ldk.structs.Event.constr_from_ptr(ret_conv_7);
ret_conv_7_hu_conv.ptrs_to.add(this);
ret_conv_7_arr[h] = ret_conv_7_hu_conv;
}
long ret = bindings.ChannelMonitor_current_best_block(this.ptr);
Reference.reachabilityFence(this);
if (ret >= 0 && ret <= 4096) { return null; }
- BestBlock ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new BestBlock(null, ret); }
+ org.ldk.structs.BestBlock ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new org.ldk.structs.BestBlock(null, ret); }
ret_hu_conv.ptrs_to.add(this);
return ret_hu_conv;
}
Balance[] ret_conv_9_arr = new Balance[ret_conv_9_len];
for (int j = 0; j < ret_conv_9_len; j++) {
long ret_conv_9 = ret[j];
- Balance ret_conv_9_hu_conv = Balance.constr_from_ptr(ret_conv_9);
+ org.ldk.structs.Balance ret_conv_9_hu_conv = org.ldk.structs.Balance.constr_from_ptr(ret_conv_9);
ret_conv_9_hu_conv.ptrs_to.add(this);
ret_conv_9_arr[j] = ret_conv_9_hu_conv;
}