[C#] Update auto-generated files
[ldk-java] / c_sharp / src / org / ldk / structs / Result_ProbabilisticScorerDecodeErrorZ.cs
index aed87936b2258c810440bda743226d3a7a3bfbe1..2bed5dd2751dcac987ae8ea31cfc63fe0c6129df 100644 (file)
@@ -41,14 +41,14 @@ public class Result_ProbabilisticScorerDecodeErrorZ : CommonBase {
        /**
         * Creates a new CResult_ProbabilisticScorerDecodeErrorZ in the success state.
         */
-       public static Result_ProbabilisticScorerDecodeErrorZ ok(ProbabilisticScoringParameters o_params, NetworkGraph o_network_graph, Logger o_logger) {
-               long ret = bindings.CResult_ProbabilisticScorerDecodeErrorZ_ok(bindings.ProbabilisticScorer_new(o_params == null ? 0 : o_params.ptr, o_network_graph == null ? 0 : o_network_graph.ptr, o_logger == null ? 0 : o_logger.ptr));
-               GC.KeepAlive(o_params);
+       public static Result_ProbabilisticScorerDecodeErrorZ ok(ProbabilisticScoringDecayParameters o_decay_params, NetworkGraph o_network_graph, Logger o_logger) {
+               long ret = bindings.CResult_ProbabilisticScorerDecodeErrorZ_ok(bindings.ProbabilisticScorer_new(o_decay_params == null ? 0 : o_decay_params.ptr, o_network_graph == null ? 0 : o_network_graph.ptr, o_logger.ptr));
+               GC.KeepAlive(o_decay_params);
                GC.KeepAlive(o_network_graph);
                GC.KeepAlive(o_logger);
                if (ret >= 0 && ret <= 4096) { return null; }
                Result_ProbabilisticScorerDecodeErrorZ ret_hu_conv = Result_ProbabilisticScorerDecodeErrorZ.constr_from_ptr(ret);
-               if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.AddLast(o_params); };
+               if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.AddLast(o_decay_params); };
                if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.AddLast(o_network_graph); };
                if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.AddLast(o_logger); };
                return ret_hu_conv;
@@ -62,6 +62,7 @@ public class Result_ProbabilisticScorerDecodeErrorZ : CommonBase {
                GC.KeepAlive(e);
                if (ret >= 0 && ret <= 4096) { return null; }
                Result_ProbabilisticScorerDecodeErrorZ ret_hu_conv = Result_ProbabilisticScorerDecodeErrorZ.constr_from_ptr(ret);
+               if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.AddLast(e); };
                return ret_hu_conv;
        }