Function
AppStreamvercmp_test_match
Declaration [src]
gboolean
as_vercmp_test_match (
const gchar* ver1,
AsRelationCompare compare,
const gchar* ver2,
AsVercmpFlags flags
)
Description [src]
Compare two version numbers and check if the given version comparator matches.
Available since: | 0.16.0 |
Parameters
ver1 |
const gchar* |
First version number. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
compare |
AsRelationCompare |
The comparison operator. |
|
ver2 |
const gchar* |
Second version number. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
flags |
AsVercmpFlags |
The |