diff options
| author | Kristian Høgsberg <krh@bitplanet.net> | 2011-08-23 16:40:39 -0400 |
|---|---|---|
| committer | Kristian Høgsberg <krh@bitplanet.net> | 2011-08-23 16:40:39 -0400 |
| commit | 8cbc5482b1b27059d18f8b71d2cf67230f69afdf (patch) | |
| tree | 4b793737d3e901fa1a206cdb67dec65e58c39a5c /src/wayland-server.h | |
| parent | server: wl_display and wl_input_device are no longer resources (diff) | |
| download | wayland-next.tar wayland-next.tar.gz wayland-next.tar.bz2 wayland-next.tar.lz wayland-next.tar.xz wayland-next.tar.zst wayland-next.zip | |
Pass struct wl_resource as the first argument to server side stubsnext
Diffstat (limited to 'src/wayland-server.h')
| -rw-r--r-- | src/wayland-server.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wayland-server.h b/src/wayland-server.h index e5f1767..4688aee 100644 --- a/src/wayland-server.h +++ b/src/wayland-server.h @@ -98,8 +98,6 @@ void wl_display_remove_global(struct wl_display *display, struct wl_client *wl_client_create(struct wl_display *display, int fd); void wl_client_destroy(struct wl_client *client); -void wl_client_post_error(struct wl_client *client, struct wl_object *object, - uint32_t code, const char *msg, ...); void wl_client_post_no_memory(struct wl_client *client); void wl_client_flush(struct wl_client *client); @@ -227,6 +225,9 @@ struct wl_selection { }; void +wl_resource_post_error(struct wl_resource *resource, + uint32_t code, const char *msg, ...); +void wl_resource_post_event(struct wl_resource *resource, uint32_t opcode, ...); int |
