- public int get_fee_proportional_millionths(UnsignedChannelUpdate this_ptr) {
- int ret = bindings.UnsignedChannelUpdate_get_fee_proportional_millionths(this_ptr == null ? 0 : this_ptr.ptr & ~1);
- this.ptrs_to.add(this_ptr);
- return ret;
+ /**
+ * Creates a copy of the UnsignedChannelUpdate
+ */
+ public UnsignedChannelUpdate clone() {
+ long ret = bindings.UnsignedChannelUpdate_clone(this.ptr);
+ UnsignedChannelUpdate ret_hu_conv = new UnsignedChannelUpdate(null, ret);
+ ret_hu_conv.ptrs_to.add(this);
+ return ret_hu_conv;