Function nandoize::parse_arguments

source ·
pub(crate) fn parse_arguments(
    signature: &Signature
) -> Result<ArgumentMappingContext, Error>
Expand description

Parses the arguments of a function to be nandoized to figure out the nando arguments.

Parses the arguments of a function Signature to derive those of interest:

  • All reference arguments (&T and &mut T) are to be mapped to the results of IPtr resolutions.
  • All other argument types are copied verbatim to the definition of the nando wrapper, and passed directly to the wrapped function.