Skip to main content

absent_formals_by_r_name

Function absent_formals_by_r_name 

Source
pub(crate) fn absent_formals_by_r_name(
    per_param: &HashMap<String, ParamAttrs>,
    c_ident: &str,
) -> HashMap<String, String>
Expand description

The parameters of per_param (keyed by Rust name) whose wrapper reads a value identical() to the formal as omitted (ParamAttrs::absent_formal, #2152), as R formal → the formal’s default: the match_arg placeholder keyed by the C wrapper c_ident, or the literal choices(...) vector. For crate::r_wrapper_builder::RArgumentBuilder::with_absent_formals.