#[no_mangle]
pub unsafe extern "C" fn pkgcraft_version_cmp(
    v1: *mut Version,
    v2: *mut Version
) -> c_int
Expand description

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

Safety

The version arguments should be non-null Version pointers.