pkgcraft_dependency_cmp

Function pkgcraft_dependency_cmp 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pkgcraft_dependency_cmp( d1: *mut Dependency, d2: *mut Dependency, ) -> c_int
Expand description

Compare two Dependencys returning -1, 0, or 1 if the first is less than, equal to, or greater than the second, respectively.

ยงSafety

The arguments must be valid Dependency pointers.