commit | 65b773e51fe874c78785fe3e63a8d6972fa0c57c | [log] [tgz] |
---|---|---|
author | Olivier Fourdan <ofourdan@redhat.com> | Tue Oct 18 16:23:40 2016 +0200 |
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | Tue Jan 24 15:49:03 2017 +0200 |
tree | 11a041768b91469f02a3f6018cadd75cd394a3ab | |
parent | d915447365be68a39607a176e03e06a05cb8a72d [diff] |
wayland-server: Add functions to wl_global When using a wl_global, a server may need to retrieve the associated wl_interface and user data. Add a couple of convenient functions wl_global_get_interface() and wl_global_get_user_data() for this purpose. Signed-off-by: Olivier Fourdan <ofourdan@redhat.com> Reviewed-by: Yong Bakos <ybakos@humanoriented.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>