- public UnsignedChannelUpdate(UnsignedChannelUpdate orig) {
- super(bindings.UnsignedChannelUpdate_clone(orig == null ? 0 : orig.ptr & ~1));
- this.ptrs_to.add(orig);
+ public static UnsignedChannelUpdate constructor_clone(UnsignedChannelUpdate orig) {
+ long ret = bindings.UnsignedChannelUpdate_clone(orig == null ? 0 : orig.ptr & ~1);
+ UnsignedChannelUpdate ret_hu_conv = new UnsignedChannelUpdate(null, ret);
+ ret_hu_conv.ptrs_to.add(orig);
+ return ret_hu_conv;