utils_compare_versions


Description:


public int utils_compare_versions (string a, string b)

Compare alpha and numeric segments of two versions.

The version compare algorithm is also used by RPM.

Returns:

1: a is newer than b 0: a and b are the same version -1: b is newer than a


Namespace: AppStream
Package: appstream



2022 vala-language.org