mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
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:
parent
42463b840f
commit
0a10d38d15
16
glib/ghash.c
16
glib/ghash.c
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user