mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-03 09:01:42 -05:00
util: Pass flags to map iterators
On the client side we're going to need to know if an object from the map is a zombie before we attempt to dereference it, so we need to pass this to the iterator. Reviewed-by: Daniel Stone <daniels@collabora.com> Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
This commit is contained in:
parent
46e4ea43a2
commit
b4cf9e7d5e
3 changed files with 8 additions and 8 deletions
|
|
@ -80,7 +80,8 @@ struct wl_map {
|
|||
};
|
||||
|
||||
typedef enum wl_iterator_result (*wl_iterator_func_t)(void *element,
|
||||
void *data);
|
||||
void *data,
|
||||
uint32_t flags);
|
||||
|
||||
void
|
||||
wl_map_init(struct wl_map *map, uint32_t side);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue