diff options
author | Richard Hughes <richard@hughsie.com> | 2015-03-04 16:07:59 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2015-03-04 16:18:03 +0000 |
commit | 0f515548fe6bcd2abf9261f215f932d498de714e (patch) | |
tree | 0dde88355c3ec4ae22bf380ecf32cf3b4e81c87e /libappstream-glib/as-utils.h | |
parent | 80b6d6fa8b8cb4b8f9b13c2c7c08a25c0369c640 (diff) | |
download | appstream-glib-0f515548fe6bcd2abf9261f215f932d498de714e.tar.gz |
Sort the releases using vercmp rather than strcmp
Diffstat (limited to 'libappstream-glib/as-utils.h')
-rw-r--r-- | libappstream-glib/as-utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libappstream-glib/as-utils.h b/libappstream-glib/as-utils.h index b187e5f..b6e6839 100644 --- a/libappstream-glib/as-utils.h +++ b/libappstream-glib/as-utils.h @@ -130,6 +130,8 @@ gboolean as_utils_search_token_valid (const gchar *token); gchar **as_utils_search_tokenize (const gchar *search); GKeyFile *as_utils_load_inf_file (const gchar *filename, GError **error); +gint as_utils_vercmp (const gchar *version_a, + const gchar *version_b); G_END_DECLS |