Function wit_bindgen_c::gen_type_name

source ยท
pub fn gen_type_name(
    resolve: &Resolve,
    ty: TypeId,
) -> (CTypeNameInfo<'_>, String)
Expand description

Generate the type part of a c identifier, missing the namespace and the _t suffix. Additionally return a CTypeNameInfo that describes what sort of name has been produced.