Go to the documentation of this file.
28 #define map_guint_new() \
29 g_hash_table_new(g_direct_hash, g_direct_equal)
32 #define map_guint_new_full(valfree) \
33 g_hash_table_new_full(g_direct_hash, g_direct_equal, NULL, (valfree))
36 #define map_guint_insert(ht, key, val) \
37 g_hash_table_insert((ht), GUINT_TO_POINTER((guint)(key)), (val))
40 #define map_guint_replace(ht, key, val) \
41 g_hash_table_replace((ht), GUINT_TO_POINTER((guint)(key)), (val))
44 #define map_guint_lookup(ht, key) \
45 g_hash_table_lookup((ht), GUINT_TO_POINTER((guint)(key)))
48 #define map_guint_remove(ht, key) \
49 g_hash_table_remove((ht), GUINT_TO_POINTER((guint)(key)))
52 #define map_guint_steal(ht, key) \
53 g_hash_table_steal((ht), GUINT_TO_POINTER((guint)(key)))