pub fn gen_function(
func: &FunctionDef,
mapper: &dyn TypeMapper,
cfg: &RustBindingConfig<'_>,
adapter_bodies: &AdapterBodies,
opaque_types: &AHashSet<String>,
) -> StringExpand description
Generate a free function. Equivalent to gen_function_with_mutex with no mutex types.