- public static Pong constructor_new(short byteslen_arg) {
- uint32_t ret = bindings.Pong_new(byteslen_arg);
- Pong ret_hu_conv = new Pong(null, 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 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);