pkgcraft_dep_cmp

Function pkgcraft_dep_cmp 

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

Compare two package dependencies 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 Dep pointers.