gint as_vercmp (const gchar *a,const gchar *b,AsVercmpFlags flags);
Compare alpha and numeric segments of two software versions,
considering flags
.
gint as_vercmp_simple (const gchar *a,const gchar *b);
Compare alpha and numeric segments of two software versions.
gboolean as_vercmp_test_match (const gchar *ver1,AsRelationCompare compare,const gchar *ver2,AsVercmpFlags flags);
Compare two version numbers and check if the given version comparator matches.
ver1 |
first version number |
|
compare |
the comparison operator |
|
ver2 |
second version number |
|
flags |
the AsVercmpFlags to use |
Since: 0.16.0