ghash: Document order of parameters in GEqualFunc usage

See https://bugzilla.gnome.org/show_bug.cgi?id=698064#c15.
This commit is contained in:
Philip Withnall 2017-03-23 15:55:18 +00:00
parent fb5a07ad39
commit b3362bb834

View File

@ -663,7 +663,9 @@ g_hash_table_maybe_resize (GHashTable *hash_table)
* and g_str_equal() functions are provided for the most common types
* of keys. If @key_equal_func is %NULL, keys are compared directly in
* a similar fashion to g_direct_equal(), but without the overhead of
* a function call.
* a function call. @key_equal_func is called with the key from the hash table
* as its first parameter, and the user-provided key to check against as
* its second.
*
* Returns: a new #GHashTable
*/