- public byte[] get_channel_id(ChannelDetails this_ptr) {
- byte[] ret = bindings.ChannelDetails_get_channel_id(this_ptr.ptr & ~1);
- this.ptrs_to.add(this_ptr);
- return ret;
- }
-
- public void set_channel_id(ChannelDetails this_ptr, byte[] val) {
- bindings.ChannelDetails_set_channel_id(this_ptr.ptr & ~1, val);
- this.ptrs_to.add(this_ptr);
+ public static ChannelDetails constructor_clone(ChannelDetails orig) {
+ long ret = bindings.ChannelDetails_clone(orig == null ? 0 : orig.ptr & ~1);
+ ChannelDetails ret_hu_conv = new ChannelDetails(null, ret);
+ ret_hu_conv.ptrs_to.add(orig);
+ return ret_hu_conv;