X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ts%2Fstructs%2FResult_ChannelMonitorUpdateDecodeErrorZ.ts;h=28bba160e3c415f2bf8fd8c21ab30381ecb17db1;hb=fed2245c60159f6c074c9ed5c0f3ce273ad9841b;hp=39e7d9c68b2407a0f4034170336299503bf7025d;hpb=822471992c6bf6f9985e531cc5940e4cc35e3e4c;p=ldk-java diff --git a/ts/structs/Result_ChannelMonitorUpdateDecodeErrorZ.ts b/ts/structs/Result_ChannelMonitorUpdateDecodeErrorZ.ts index 39e7d9c6..28bba160 100644 --- a/ts/structs/Result_ChannelMonitorUpdateDecodeErrorZ.ts +++ b/ts/structs/Result_ChannelMonitorUpdateDecodeErrorZ.ts @@ -19,8 +19,9 @@ public class Result_ChannelMonitorUpdateDecodeErrorZ extends CommonBase { public final ChannelMonitorUpdate res; private Result_ChannelMonitorUpdateDecodeErrorZ_OK(Object _dummy, long ptr) { super(_dummy, ptr); - uint32_t res = bindings.LDKCResult_ChannelMonitorUpdateDecodeErrorZ_get_ok(ptr); - ChannelMonitorUpdate res_hu_conv = new ChannelMonitorUpdate(null, res); + number res = bindings.LDKCResult_ChannelMonitorUpdateDecodeErrorZ_get_ok(ptr); + const res_hu_conv: ChannelMonitorUpdate = new ChannelMonitorUpdate(null, res); + res_hu_conv.ptrs_to.add(this); this.res = res_hu_conv; } public Result_ChannelMonitorUpdateDecodeErrorZ_OK(ChannelMonitorUpdate res) { @@ -33,8 +34,9 @@ public class Result_ChannelMonitorUpdateDecodeErrorZ extends CommonBase { public final DecodeError err; private Result_ChannelMonitorUpdateDecodeErrorZ_Err(Object _dummy, long ptr) { super(_dummy, ptr); - uint32_t err = bindings.LDKCResult_ChannelMonitorUpdateDecodeErrorZ_get_err(ptr); - DecodeError err_hu_conv = new DecodeError(null, err); + number err = bindings.LDKCResult_ChannelMonitorUpdateDecodeErrorZ_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_ChannelMonitorUpdateDecodeErrorZ_Err(DecodeError err) {