Return value of g_hash_table_get_{keys,values} is (transfer container)

https://bugzilla.gnome.org/show_bug.cgi?id=757742
This commit is contained in:
Mikhail Zabaluev 2015-11-07 18:51:04 +02:00
parent 42463b840f
commit 0a10d38d15

View File

@ -1706,10 +1706,10 @@ g_hash_table_size (GHashTable *hash_table)
* To iterate over the entries in a #GHashTable more efficiently, use a
* #GHashTableIter.
*
* Returns: a #GList containing all the keys inside the hash
* table. The content of the list is owned by the hash table and
* should not be modified or freed. Use g_list_free() when done
* using the list.
* Returns: (transfer container): a #GList containing all the keys
* inside the hash table. The content of the list is owned by the
* hash table and should not be modified or freed. Use g_list_free()
* when done using the list.
*
* Since: 2.14
*/
@ -1792,10 +1792,10 @@ g_hash_table_get_keys_as_array (GHashTable *hash_table,
* To iterate over the entries in a #GHashTable more efficiently, use a
* #GHashTableIter.
*
* Returns: a #GList containing all the values inside the hash
* table. The content of the list is owned by the hash table and
* should not be modified or freed. Use g_list_free() when done
* using the list.
* Returns: (transfer container): a #GList containing all the values
* inside the hash table. The content of the list is owned by the
* hash table and should not be modified or freed. Use g_list_free()
* when done using the list.
*
* Since: 2.14
*/