mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-04-04 07:15:53 -04:00
Represent event and method metadata with struct wl_message.
This commit is contained in:
parent
fe831a7494
commit
fb6d68ddbe
4 changed files with 11 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue