mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-28 08:26:14 +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
|
* To iterate over the entries in a #GHashTable more efficiently, use a
|
||||||
* #GHashTableIter.
|
* #GHashTableIter.
|
||||||
*
|
*
|
||||||
* Returns: a #GList containing all the keys inside the hash
|
* Returns: (transfer container): a #GList containing all the keys
|
||||||
* table. The content of the list is owned by the hash table and
|
* inside the hash table. The content of the list is owned by the
|
||||||
* should not be modified or freed. Use g_list_free() when done
|
* hash table and should not be modified or freed. Use g_list_free()
|
||||||
* using the list.
|
* when done using the list.
|
||||||
*
|
*
|
||||||
* Since: 2.14
|
* 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
|
* To iterate over the entries in a #GHashTable more efficiently, use a
|
||||||
* #GHashTableIter.
|
* #GHashTableIter.
|
||||||
*
|
*
|
||||||
* Returns: a #GList containing all the values inside the hash
|
* Returns: (transfer container): a #GList containing all the values
|
||||||
* table. The content of the list is owned by the hash table and
|
* inside the hash table. The content of the list is owned by the
|
||||||
* should not be modified or freed. Use g_list_free() when done
|
* hash table and should not be modified or freed. Use g_list_free()
|
||||||
* using the list.
|
* when done using the list.
|
||||||
*
|
*
|
||||||
* Since: 2.14
|
* Since: 2.14
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user