mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-28 10:30:03 +01: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
|
||||
* set_insert (GHashTable *set,
|
||||
* gpointer element)
|
||||
* set_add (GHashTable *set,
|
||||
* gpointer element)
|
||||
* {
|
||||
* g_hash_table_insert (set, element, element);
|
||||
* g_hash_table_replace (set, element, element);
|
||||
* }
|
||||
*
|
||||
* gboolean
|
||||
|
Loading…
x
Reference in New Issue
Block a user