pub fn generate_c_interfaces<P1: AsRef<Path>, P2: AsRef<Path>>(
    protocol: P1,
    target: P2
)
Expand description

Generate the interfaces for a protocol

See this crate toplevel documentation for details.

Args:

  • protocol: a path to the XML file describing the protocol, absolute or relative to the build script using this function.
  • target: the path of the file to store this interfaces in.