Merge branch 'wip/antoniof/not-nullable-key' into 'main'

hash: Explicitly annotate key in iter_next as nullable

See merge request GNOME/glib!3741
This commit is contained in:
Philip Withnall
2023-12-04 12:07:42 +00:00

View File

@@ -1101,7 +1101,7 @@ g_hash_table_iter_init (GHashTableIter *iter,
/** /**
* g_hash_table_iter_next: * g_hash_table_iter_next:
* @iter: an initialized #GHashTableIter * @iter: an initialized #GHashTableIter
* @key: (out) (optional): a location to store the key * @key: (out) (optional) (nullable): a location to store the key
* @value: (out) (optional) (nullable): a location to store the value * @value: (out) (optional) (nullable): a location to store the value
* *
* Advances @iter and retrieves the key and/or value that are now * Advances @iter and retrieves the key and/or value that are now