Merge pull request #139 from TheBlueMatt/main
[ldk-java] / c_sharp / src / org / ldk / structs / Result_COption_NetworkUpdateZDecodeErrorZ.cs
index bb5228aa315414f1fc692c814b133febf7c44097..2dad04a95a6cd0f9c7d8a04276590617e30dc784 100644 (file)
@@ -46,6 +46,7 @@ public class Result_COption_NetworkUpdateZDecodeErrorZ : CommonBase {
                GC.KeepAlive(o);
                if (ret >= 0 && ret <= 4096) { return null; }
                Result_COption_NetworkUpdateZDecodeErrorZ ret_hu_conv = Result_COption_NetworkUpdateZDecodeErrorZ.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_NetworkUpdateZDecodeErrorZ : CommonBase {
                GC.KeepAlive(e);
                if (ret >= 0 && ret <= 4096) { return null; }
                Result_COption_NetworkUpdateZDecodeErrorZ ret_hu_conv = Result_COption_NetworkUpdateZDecodeErrorZ.constr_from_ptr(ret);
+               if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.AddLast(e); };
                return ret_hu_conv;
        }