12 #ifndef __WMEM_MAP_H__ 13 #define __WMEM_MAP_H__ 17 #include "wmem_core.h" 58 GHashFunc hash_func, GEqualFunc eql_func)
76 GHashFunc hash_func, GEqualFunc eql_func)
WS_DLL_PUBLIC wmem_map_t * wmem_map_new(wmem_allocator_t *allocator, GHashFunc hash_func, GEqualFunc eql_func) G_GNUC_MALLOC
Definition: wmem_map.c:88
WS_DLL_PUBLIC void * wmem_map_remove(wmem_map_t *map, const void *key)
Definition: wmem_map.c:308
WS_DLL_PUBLIC void * wmem_map_insert(wmem_map_t *map, const void *key, void *value)
Definition: wmem_map.c:187
WS_DLL_PUBLIC guint wmem_map_size(wmem_map_t *map)
Definition: wmem_map.c:412
WS_DLL_PUBLIC wmem_map_t * wmem_map_new_autoreset(wmem_allocator_t *master, wmem_allocator_t *slave, GHashFunc hash_func, GEqualFunc eql_func) G_GNUC_MALLOC
Definition: wmem_map.c:134
Definition: wmem_map.c:44
WS_DLL_PUBLIC guint wmem_str_hash(gconstpointer key)
Definition: wmem_map.c:459
WS_DLL_PUBLIC gboolean wmem_map_lookup_extended(wmem_map_t *map, const void *key, const void **orig_key, void **value)
Definition: wmem_map.c:278
WS_DLL_PUBLIC guint wmem_double_hash(gconstpointer key)
Definition: wmem_map.c:471
WS_DLL_PUBLIC gboolean wmem_map_steal(wmem_map_t *map, const void *key)
Definition: wmem_map.c:340
WS_DLL_PUBLIC void wmem_map_foreach(wmem_map_t *map, GHFunc foreach_func, gpointer user_data)
Definition: wmem_map.c:392
WS_DLL_PUBLIC guint32 wmem_strong_hash(const guint8 *buf, const size_t len)
Definition: wmem_map.c:423
WS_DLL_PUBLIC wmem_list_t * wmem_map_get_keys(wmem_allocator_t *list_allocator, wmem_map_t *map)
Definition: wmem_map.c:369
Definition: wmem_allocator.h:26
WS_DLL_PUBLIC void * wmem_map_lookup(wmem_map_t *map, const void *key)
Definition: wmem_map.c:254
Definition: wmem_list.c:23
WS_DLL_PUBLIC guint wmem_int64_hash(gconstpointer key)
Definition: wmem_map.c:465
WS_DLL_PUBLIC gboolean wmem_map_contains(wmem_map_t *map, const void *key)
Definition: wmem_map.c:230