Function pkgcraft::dep::pkgcraft_dependency_set_parse

source ·
#[no_mangle]
pub unsafe extern "C" fn pkgcraft_dependency_set_parse(
    s: *const c_char,
    eapi: *const Eapi,
    kind: DependencySetKind,
) -> *mut DependencySet
Expand description

Parse a string into a specified DependencySet type.

Returns NULL on error.

§Safety

The argument should be a UTF-8 string.