super(_dummy, ptr);
number res = bindings.LDKCResult_PingDecodeErrorZ_get_ok(ptr);
const res_hu_conv: Ping = new Ping(null, res);
+ res_hu_conv.ptrs_to.add(this);
this.res = res_hu_conv;
}
public Result_PingDecodeErrorZ_OK(Ping res) {
super(_dummy, ptr);
number err = bindings.LDKCResult_PingDecodeErrorZ_get_err(ptr);
const err_hu_conv: DecodeError = new DecodeError(null, err);
+ err_hu_conv.ptrs_to.add(this);
this.err = err_hu_conv;
}
public Result_PingDecodeErrorZ_Err(DecodeError err) {