bindings.ChannelMonitorUpdate_free(this.ptr);
}
}
- public ChannelMonitorUpdate clone() {
- number ret = bindings.ChannelMonitorUpdate_clone(this.ptr);
- const ret_hu_conv: ChannelMonitorUpdate = new ChannelMonitorUpdate(null, ret);
- return ret_hu_conv;
- }
-
public number get_update_id() {
number ret = bindings.ChannelMonitorUpdate_get_update_id(this.ptr);
return ret;
bindings.ChannelMonitorUpdate_set_update_id(this.ptr, val);
}
+ public ChannelMonitorUpdate clone() {
+ number ret = bindings.ChannelMonitorUpdate_clone(this.ptr);
+ const ret_hu_conv: ChannelMonitorUpdate = new ChannelMonitorUpdate(null, ret);
+ ret_hu_conv.ptrs_to.add(this);
+ return ret_hu_conv;
+ }
+
public Uint8Array write() {
Uint8Array ret = bindings.ChannelMonitorUpdate_write(this.ptr);
return ret;