- public byte[] write(ChannelInfo obj) {
- byte[] ret = bindings.ChannelInfo_write(obj == null ? 0 : obj.ptr & ~1);
- this.ptrs_to.add(obj);
+ public ChannelInfo clone() {
+ long ret = bindings.ChannelInfo_clone(this.ptr);
+ ChannelInfo ret_hu_conv = new ChannelInfo(null, ret);
+ ret_hu_conv.ptrs_to.add(this);
+ return ret_hu_conv;
+ }
+
+ public byte[] write() {
+ byte[] ret = bindings.ChannelInfo_write(this.ptr);