#[no_mangle]
pub unsafe extern "C" fn pkgcraft_version_cmp(
v1: *mut AtomVersion,
v2: *mut AtomVersion
) -> c_intExpand description
Compare two versions returning -1, 0, or 1 if the first version is less than, equal to, or greater than the second version, respectively.
Safety
The version arguments should be non-null Version pointers received from pkgcraft_version().