Function pkgcraft::eapi::pkgcraft_eapi_cmp
source · #[no_mangle]
pub unsafe extern "C" fn pkgcraft_eapi_cmp(
e1: *const Eapi,
e2: *const Eapi,
) -> c_intExpand description
Compare two Eapi objects chronologically returning -1, 0, or 1 if the first is less than, equal to, or greater than the second, respectively.
§Safety
The arguments must be non-null Eapi pointers.