Function wayland_scanner::generate_c_code
source · Expand description
Generate the code for a protocol using the C system libs
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 the code in.side
: the side (client or server) to generate code for.