- public void set_update_id(ChannelMonitorUpdate this_ptr, long val) {
- bindings.ChannelMonitorUpdate_set_update_id(this_ptr == null ? 0 : this_ptr.ptr & ~1, val);
- this.ptrs_to.add(this_ptr);
+ public ChannelMonitorUpdate clone() {
+ long ret = bindings.ChannelMonitorUpdate_clone(this.ptr);
+ ChannelMonitorUpdate ret_hu_conv = new ChannelMonitorUpdate(null, ret);
+ ret_hu_conv.ptrs_to.add(this);
+ return ret_hu_conv;