X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FResult_PingDecodeErrorZ.ts;fp=ts%2Fstructs%2FResult_PingDecodeErrorZ.ts;h=d97504f392227268248781a92ed8959ebc16672e;hb=fed2245c60159f6c074c9ed5c0f3ce273ad9841b;hp=c97cf53a6dbc4b6fc066eca8af36a0f1dc48cb67;hpb=e9c2970adecaa14b3e83e11eb160a7bcbdae20da;p=ldk-java diff --git a/ts/structs/Result_PingDecodeErrorZ.ts b/ts/structs/Result_PingDecodeErrorZ.ts index c97cf53a..d97504f3 100644 --- a/ts/structs/Result_PingDecodeErrorZ.ts +++ b/ts/structs/Result_PingDecodeErrorZ.ts @@ -21,6 +21,7 @@ public class Result_PingDecodeErrorZ extends CommonBase { 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) { @@ -35,6 +36,7 @@ public class Result_PingDecodeErrorZ extends CommonBase { 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) {