Function pkgcraft::eapi::pkgcraft_eapi_parse

source ·
#[no_mangle]
pub unsafe extern "C" fn pkgcraft_eapi_parse(
    s: *const c_char,
) -> *const c_char
Expand description

Determine if a string is a valid EAPI.

Returns NULL on error.

§Safety

The argument should point to a UTF-8 string.