fn generate_method_match_arg_helpers(
parsed_impl: &ParsedImpl,
method: &ParsedMethod,
) -> TokenStreamExpand description
Generate __match_arg_choices__<param> helper C wrappers plus the two linkme
registrations (MX_CALL_DEFS and MX_MATCH_ARG_CHOICES) per match_arg parameter.
Mirrors the standalone-fn emission in lib.rs so both surfaces resolve through the
same runtime paths — C_*__match_arg_choices__* is called from R’s prelude, and
MX_MATCH_ARG_CHOICES drives write-time placeholder substitution when the cdylib
emits the final R wrapper file.