mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-31 06:13:29 +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:
@@ -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
|
||||
|
Reference in New Issue
Block a user