[C#] Update auto-generated files
[ldk-java] / c_sharp / src / org / ldk / structs / Result_COption_ClosureReasonZDecodeErrorZ.cs
index 2471d6eeb576c60fe76d6c0dd4fd94f32c5bcca3..258edbe780f04772a3c410138dda5820b4b6e1e3 100644 (file)
@@ -46,6 +46,7 @@ public class Result_COption_ClosureReasonZDecodeErrorZ : CommonBase {
                GC.KeepAlive(o);
                if (ret >= 0 && ret <= 4096) { return null; }
                Result_COption_ClosureReasonZDecodeErrorZ ret_hu_conv = Result_COption_ClosureReasonZDecodeErrorZ.constr_from_ptr(ret);
+               if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.AddLast(o); };
                return ret_hu_conv;
        }
 
@@ -57,6 +58,7 @@ public class Result_COption_ClosureReasonZDecodeErrorZ : CommonBase {
                GC.KeepAlive(e);
                if (ret >= 0 && ret <= 4096) { return null; }
                Result_COption_ClosureReasonZDecodeErrorZ ret_hu_conv = Result_COption_ClosureReasonZDecodeErrorZ.constr_from_ptr(ret);
+               if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.AddLast(e); };
                return ret_hu_conv;
        }