mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-15 06:59:49 -05:00
Track objects client side using a hash too.
This leads up to using the demarshal machinery for decoding events in the client library.
This commit is contained in:
parent
12ea62e211
commit
fabd4395ba
5 changed files with 79 additions and 52 deletions
|
|
@ -25,26 +25,6 @@
|
|||
|
||||
#include <stdint.h>
|
||||
|
||||
struct wl_argument {
|
||||
uint32_t type;
|
||||
void *data;
|
||||
};
|
||||
|
||||
struct wl_message {
|
||||
const char *name;
|
||||
const char *signature;
|
||||
const void **types;
|
||||
};
|
||||
|
||||
struct wl_interface {
|
||||
const char *name;
|
||||
int version;
|
||||
int method_count;
|
||||
const struct wl_message *methods;
|
||||
int event_count;
|
||||
const struct wl_message *events;
|
||||
};
|
||||
|
||||
#define WL_DISPLAY_INVALID_OBJECT 0
|
||||
#define WL_DISPLAY_INVALID_METHOD 1
|
||||
#define WL_DISPLAY_NO_MEMORY 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue