[RFC wayland] Add server-side dispatchers support

Dave Airlie airlied at gmail.com
Tue Mar 26 01:28:46 PDT 2013


> +++ b/src/wayland-private.h
> @@ -74,15 +74,9 @@ int wl_connection_write(struct wl_connection *connection, const void *data, size
>  int wl_connection_queue(struct wl_connection *connection,
>                         const void *data, size_t count);
>
> -union wl_argument {
> -       int32_t i;
> -       uint32_t u;
> -       wl_fixed_t f;
> -       const char *s;
> -       struct wl_object *o;
> -       uint32_t n;
> -       struct wl_array *a;
> -       int32_t h;
> +struct wl_dispatcher {

Care to document why n is different from u and h from i?

at first glance I can't see what they are for.

Dave.


More information about the wayland-devel mailing list