Re: [PATCH v4 2/3] wayland-server: Add functions to wl_global

2017-01-24 Thread Pekka Paalanen
On Tue, 18 Oct 2016 08:55:10 -0700 Yong Bakos wrote: > On Oct 18, 2016, at 7:23 AM, Olivier Fourdan wrote: > > > > 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 > >

Re: [PATCH v4 2/3] wayland-server: Add functions to wl_global

2016-10-18 Thread Yong Bakos
On Oct 18, 2016, at 7:23 AM, Olivier Fourdan wrote: > > 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: Oliv

[PATCH v4 2/3] wayland-server: Add functions to wl_global

2016-10-18 Thread Olivier Fourdan
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 --- v3: split out as its own commit v4: Rebase against