Function
AppStreamutils_data_id_hash
since: 0.14.0
Declaration [src]
guint
as_utils_data_id_hash (
const gchar* data_id
)
Description [src]
Converts a data-id to a hash value.
This function implements the widely used DJB hash on the ID subset of the data-id string.
It can be passed to g_hash_table_new()
as the hash_func parameter,
when using non-NULL strings or unique_ids as keys in a GHashTable.
Available since: 0.14.0