mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
Fix up docs
svn path=/trunk/; revision=6131
This commit is contained in:
parent
d741d3e7a3
commit
1f7e7f84f4
14
glib/ghash.c
14
glib/ghash.c
@ -368,16 +368,16 @@ g_hash_table_new_full (GHashFunc hash_func,
|
||||
* Initializes a key/value pair iterator and associates it with
|
||||
* @hash_table. Modifying the hash table after calling this function
|
||||
* invalidates the returned iterator.
|
||||
*
|
||||
* <informalexample><programlisting>
|
||||
* |[
|
||||
* GHashTableIter iter;
|
||||
* gpointer key, value;
|
||||
*
|
||||
* g_hash_table_iter_init(&iter, hash_table);
|
||||
* while (g_hash_table_iter_next(&iter, &key, &value)) {
|
||||
* /* do something with key and value */
|
||||
* }
|
||||
* </programlisting></informalexample>
|
||||
* g_hash_table_iter_init (&iter, hash_table);
|
||||
* while (g_hash_table_iter_next (&iter, &key, &value))
|
||||
* {
|
||||
* /* do something with key and value */
|
||||
* }
|
||||
* ]|
|
||||
*
|
||||
* Since: 2.16
|
||||
**/
|
||||
|
Loading…
Reference in New Issue
Block a user