Function pkgcraft::parse::pkgcraft_parse_category
source · #[no_mangle]
pub unsafe extern "C" fn pkgcraft_parse_category(
s: *const c_char
) -> *const c_charExpand description
Parse a package category.
Returns NULL on error.
Safety
The argument should point to a UTF-8 string.