mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-01 22:58:40 -04:00
Generate protocol types and metadata from xml
This commit is contained in:
parent
c37c57aec7
commit
a1f3f60bea
15 changed files with 637 additions and 289 deletions
|
|
@ -33,7 +33,7 @@
|
|||
#include <assert.h>
|
||||
#include <sys/poll.h>
|
||||
|
||||
#include "wayland-protocol.h"
|
||||
#include "wayland-client-protocol.h"
|
||||
#include "connection.h"
|
||||
#include "wayland-util.h"
|
||||
#include "wayland-client.h"
|
||||
|
|
@ -334,19 +334,6 @@ display_handle_range(void *data,
|
|||
display->next_range = range;
|
||||
}
|
||||
|
||||
struct wl_display_listener {
|
||||
void (*invalid_object)(void *data,
|
||||
struct wl_display *display, uint32_t id);
|
||||
void (*invalid_method)(void *data, struct wl_display *display,
|
||||
uint32_t id, uint32_t opcode);
|
||||
void (*no_memory)(void *data,
|
||||
struct wl_display *display);
|
||||
void (*global)(void *data, struct wl_display *display,
|
||||
uint32_t id, const char *interface, uint32_t version);
|
||||
void (*range)(void *data,
|
||||
struct wl_display *display, uint32_t range);
|
||||
};
|
||||
|
||||
static const struct wl_display_listener display_listener = {
|
||||
display_handle_invalid_object,
|
||||
display_handle_invalid_method,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue