mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-31 12:53:07 +02:00
Realign the hash set example with added api
Change the name of set_insert to set_add, to better match the newly added g_hash_table_add.
This commit is contained in:
parent
875ffc41b7
commit
39dc681fc7
@ -102,10 +102,10 @@
|
|||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* void
|
* void
|
||||||
* set_insert (GHashTable *set,
|
* set_add (GHashTable *set,
|
||||||
* gpointer element)
|
* gpointer element)
|
||||||
* {
|
* {
|
||||||
* g_hash_table_insert (set, element, element);
|
* g_hash_table_replace (set, element, element);
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
* gboolean
|
* gboolean
|
||||||
|
Loading…
x
Reference in New Issue
Block a user