[C#] Update auto-generated files
[ldk-java] / c_sharp / src / org / ldk / structs / Result_COption_HTLCDestinationZDecodeErrorZ.cs
index 5b392a4d890831f5f3fe0e935de9616d1b699b3f..7d92a7f1791909a94e260876bca8c06ed41eee77 100644 (file)
@@ -46,6 +46,7 @@ public class Result_COption_HTLCDestinationZDecodeErrorZ : CommonBase {
                GC.KeepAlive(o);
                if (ret >= 0 && ret <= 4096) { return null; }
                Result_COption_HTLCDestinationZDecodeErrorZ ret_hu_conv = Result_COption_HTLCDestinationZDecodeErrorZ.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_HTLCDestinationZDecodeErrorZ : CommonBase {
                GC.KeepAlive(e);
                if (ret >= 0 && ret <= 4096) { return null; }
                Result_COption_HTLCDestinationZDecodeErrorZ ret_hu_conv = Result_COption_HTLCDestinationZDecodeErrorZ.constr_from_ptr(ret);
+               if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.AddLast(e); };
                return ret_hu_conv;
        }