[Java] Update auto-generated Java bindings
[ldk-java] / src / main / java / org / ldk / structs / Result_COption_MonitorEventZDecodeErrorZ.java
index 5ebfcbe93b89fc058894bf764f33ab394b411adf..427e9faeb76b7409d9dd4ae2e4804df7de379161 100644 (file)
@@ -50,6 +50,7 @@ public class Result_COption_MonitorEventZDecodeErrorZ extends CommonBase {
                Reference.reachabilityFence(o);
                if (ret >= 0 && ret <= 4096) { return null; }
                Result_COption_MonitorEventZDecodeErrorZ ret_hu_conv = Result_COption_MonitorEventZDecodeErrorZ.constr_from_ptr(ret);
+               if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.add(o); };
                return ret_hu_conv;
        }
 
@@ -61,6 +62,7 @@ public class Result_COption_MonitorEventZDecodeErrorZ extends CommonBase {
                Reference.reachabilityFence(e);
                if (ret >= 0 && ret <= 4096) { return null; }
                Result_COption_MonitorEventZDecodeErrorZ ret_hu_conv = Result_COption_MonitorEventZDecodeErrorZ.constr_from_ptr(ret);
+               if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.add(e); };
                return ret_hu_conv;
        }