Function
FwupdPlugincommon_vercmp_full
Declaration [src]
gint
fu_common_vercmp_full (
const gchar* version_a,
const gchar* version_b,
FwupdVersionFormat fmt
)
Description [src]
Compares version numbers for sorting taking into account the version format if required.
Available since: | 1.3.9 |
Parameters
version_a |
const gchar* |
The semver release version, e.g. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
version_b |
const gchar* |
The semver release version, e.g. |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
fmt |
FwupdVersionFormat |
A version format, e.g. |