diff options
Diffstat (limited to 'wayland-protocol.h')
-rw-r--r-- | wayland-protocol.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/wayland-protocol.h b/wayland-protocol.h index a5c97c0..f5deea3 100644 --- a/wayland-protocol.h +++ b/wayland-protocol.h @@ -30,24 +30,19 @@ struct wl_argument { void *data; }; -struct wl_method { +struct wl_message { const char *name; const char *signature; const void **types; }; -struct wl_event { - const char *name; - const char *signature; -}; - struct wl_interface { const char *name; int version; int method_count; - const struct wl_method *methods; + const struct wl_message *methods; int event_count; - const struct wl_event *events; + const struct wl_message *events; }; #define WL_DISPLAY_INVALID_OBJECT 0 |