Function pkgcraft::restrict::pkgcraft_restrict_parse_pkg

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

Parse a package query restriction.

Returns NULL on error.

§Safety

The argument must be a non-null string.