TypeScript API Documentation for APPSTREAM-1.0
API Version: 1.0
Library Version: 1.1.1
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Since 0.14.0
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.
g_hash_table_new()
a data ID
a hash value corresponding to the key
0.14.0
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.