bindings.Pong_free(this.ptr);
}
}
- public Pong clone() {
- number ret = bindings.Pong_clone(this.ptr);
- const ret_hu_conv: Pong = new Pong(null, ret);
- return ret_hu_conv;
- }
-
public number get_byteslen() {
number ret = bindings.Pong_get_byteslen(this.ptr);
return ret;
public static Pong constructor_new(number byteslen_arg) {
number ret = bindings.Pong_new(byteslen_arg);
const ret_hu_conv: Pong = new Pong(null, ret);
+ ret_hu_conv.ptrs_to.add(ret_hu_conv);
+ return ret_hu_conv;
+ }
+
+ public number clone_ptr() {
+ number ret = bindings.Pong_clone_ptr(this.ptr);
+ return ret;
+ }
+
+ public Pong clone() {
+ number ret = bindings.Pong_clone(this.ptr);
+ const ret_hu_conv: Pong = new Pong(null, ret);
+ ret_hu_conv.ptrs_to.add(this);
return ret_hu_conv;
}