pub fn gen_call_args_cfg(
params: &[ParamDef],
opaque_types: &AHashSet<String>,
cast_uints_to_i32: bool,
cast_large_ints_to_f64: bool,
) -> StringExpand description
Build call argument expressions with primitive type casting for backends that remap
numeric types (e.g. extendr maps f32/usize/u64 to f64 and u32 to i32).
For TypeRef::Primitive params whose binding type differs from the core type, emits
name as core_ty (or .map(|v| v as core_ty) for optional params). All other params
fall back to the same logic as gen_call_args.