- public static Scorer of(long params_base_penalty_msat_arg, long params_failure_penalty_msat_arg, long params_failure_penalty_half_life_arg) {
- long ret = bindings.Scorer_new(bindings.ScoringParameters_new(params_base_penalty_msat_arg, params_failure_penalty_msat_arg, params_failure_penalty_half_life_arg));
+ public static Scorer of(long params_base_penalty_msat_arg, long params_failure_penalty_msat_arg, short params_overuse_penalty_start_1024th_arg, long params_overuse_penalty_msat_per_1024th_arg, long params_failure_penalty_half_life_arg) {
+ long ret = bindings.Scorer_new(bindings.ScoringParameters_new(params_base_penalty_msat_arg, params_failure_penalty_msat_arg, params_overuse_penalty_start_1024th_arg, params_overuse_penalty_msat_per_1024th_arg, params_failure_penalty_half_life_arg));
+ Reference.reachabilityFence(params_base_penalty_msat_arg);
+ Reference.reachabilityFence(params_failure_penalty_msat_arg);
+ Reference.reachabilityFence(params_overuse_penalty_start_1024th_arg);
+ Reference.reachabilityFence(params_overuse_penalty_msat_per_1024th_arg);
+ Reference.reachabilityFence(params_failure_penalty_half_life_arg);