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.
This commit is contained in:
Kristian Høgsberg 2011-08-19 22:50:53 -04:00
parent 4a39081c1d
commit c8147edc3a
8 changed files with 161 additions and 67 deletions

View file

@ -53,7 +53,7 @@ wl_connection_vmarshal(struct wl_connection *connection,
struct wl_closure *
wl_connection_demarshal(struct wl_connection *connection,
uint32_t size,
struct wl_hash_table *objects,
struct wl_map *objects,
const struct wl_message *message);
void
wl_closure_invoke(struct wl_closure *closure,