aboutsummaryrefslogtreecommitdiffstats
path: root/src/wayland-hash.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2011-08-19 22:50:53 -0400
committerKristian Høgsberg <krh@bitplanet.net>2011-08-27 12:06:11 -0400
commitc8147edc3afea143a2e3328c22c4daf9ae70a6f2 (patch)
tree201373fcf481d3aa3e956910fe2e93b79c19ac26 /src/wayland-hash.c
parentRemove range protocol (diff)
downloadwayland-c8147edc3afea143a2e3328c22c4daf9ae70a6f2.tar
wayland-c8147edc3afea143a2e3328c22c4daf9ae70a6f2.tar.gz
wayland-c8147edc3afea143a2e3328c22c4daf9ae70a6f2.tar.bz2
wayland-c8147edc3afea143a2e3328c22c4daf9ae70a6f2.tar.lz
wayland-c8147edc3afea143a2e3328c22c4daf9ae70a6f2.tar.xz
wayland-c8147edc3afea143a2e3328c22c4daf9ae70a6f2.tar.zst
wayland-c8147edc3afea143a2e3328c22c4daf9ae70a6f2.zip
Store objects in wl_map data structure
The wl_map data structure is just an array with a free-list that lets the client recycle unused client IDs and keep range of client IDs under control.
Diffstat (limited to 'src/wayland-hash.c')
-rw-r--r--src/wayland-hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wayland-hash.c b/src/wayland-hash.c
index e1c0b6a..1ec6be4 100644
--- a/src/wayland-hash.c
+++ b/src/wayland-hash.c
@@ -188,7 +188,7 @@ hash_table_search(struct wl_hash_table *ht, uint32_t hash)
WL_EXPORT void
wl_hash_table_for_each(struct wl_hash_table *ht,
- wl_hash_table_func_t func, void *data)
+ wl_iterator_func_t func, void *data)
{
struct hash_entry *entry;
uint32_t i;