X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FResult_ChannelMonitorUpdateDecodeErrorZ.java;h=3b7b6799b14bffb5d60cebbc28c909c106b3326d;hb=17113550a5fefab21f39f27fbfe02646b8db53ae;hp=0b1aa205ba7384998dd364a5e2f1cb0396a17478;hpb=a9b82019e7ffa7d32d44943133bb64e1197bd2f1;p=ldk-java diff --git a/src/main/java/org/ldk/structs/Result_ChannelMonitorUpdateDecodeErrorZ.java b/src/main/java/org/ldk/structs/Result_ChannelMonitorUpdateDecodeErrorZ.java index 0b1aa205..3b7b6799 100644 --- a/src/main/java/org/ldk/structs/Result_ChannelMonitorUpdateDecodeErrorZ.java +++ b/src/main/java/org/ldk/structs/Result_ChannelMonitorUpdateDecodeErrorZ.java @@ -5,7 +5,6 @@ import org.ldk.enums.*; import org.ldk.util.*; import java.util.Arrays; -@SuppressWarnings("unchecked") // We correctly assign various generic arrays public class Result_ChannelMonitorUpdateDecodeErrorZ extends CommonBase { private Result_ChannelMonitorUpdateDecodeErrorZ(Object _dummy, long ptr) { super(ptr); } protected void finalize() throws Throwable { @@ -25,6 +24,7 @@ public class Result_ChannelMonitorUpdateDecodeErrorZ extends CommonBase { super(_dummy, ptr); long res = bindings.LDKCResult_ChannelMonitorUpdateDecodeErrorZ_get_ok(ptr); ChannelMonitorUpdate res_hu_conv = new ChannelMonitorUpdate(null, res); + res_hu_conv.ptrs_to.add(this); this.res = res_hu_conv; } public Result_ChannelMonitorUpdateDecodeErrorZ_OK(ChannelMonitorUpdate res) { @@ -39,6 +39,7 @@ public class Result_ChannelMonitorUpdateDecodeErrorZ extends CommonBase { super(_dummy, ptr); long err = bindings.LDKCResult_ChannelMonitorUpdateDecodeErrorZ_get_err(ptr); DecodeError err_hu_conv = new DecodeError(null, err); + err_hu_conv.ptrs_to.add(this); this.err = err_hu_conv; } public Result_ChannelMonitorUpdateDecodeErrorZ_Err(DecodeError err) {