diff options
| author | Jason Ekstrand <jason@jlekstrand.net> | 2013-07-17 21:58:47 -0500 |
|---|---|---|
| committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-08-19 16:23:08 -0700 |
| commit | eb947e9408c149041c4c8e1c80ef9ebea049f477 (patch) | |
| tree | 4fb9aebd45758a70e85941bbc52a7cc5b7965587 /src/wayland-client.h | |
| parent | Add support for server-side language bindings (diff) | |
| download | wayland-eb947e9408c149041c4c8e1c80ef9ebea049f477.tar wayland-eb947e9408c149041c4c8e1c80ef9ebea049f477.tar.gz wayland-eb947e9408c149041c4c8e1c80ef9ebea049f477.tar.bz2 wayland-eb947e9408c149041c4c8e1c80ef9ebea049f477.tar.lz wayland-eb947e9408c149041c4c8e1c80ef9ebea049f477.tar.xz wayland-eb947e9408c149041c4c8e1c80ef9ebea049f477.tar.zst wayland-eb947e9408c149041c4c8e1c80ef9ebea049f477.zip | |
Add support for client-side language bindings
This commit adds support for language bindings on the client half of the
library. The idea is the same as for server-side dispatchers.
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Diffstat (limited to 'src/wayland-client.h')
| -rw-r--r-- | src/wayland-client.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wayland-client.h b/src/wayland-client.h index 32ed373..cf92174 100644 --- a/src/wayland-client.h +++ b/src/wayland-client.h @@ -122,6 +122,8 @@ struct wl_event_queue; void wl_event_queue_destroy(struct wl_event_queue *queue); void wl_proxy_marshal(struct wl_proxy *p, uint32_t opcode, ...); +void wl_proxy_marshal_array(struct wl_proxy *p, uint32_t opcode, + union wl_argument *args); struct wl_proxy *wl_proxy_create(struct wl_proxy *factory, const struct wl_interface *interface); @@ -129,6 +131,9 @@ void wl_proxy_destroy(struct wl_proxy *proxy); int wl_proxy_add_listener(struct wl_proxy *proxy, void (**implementation)(void), void *data); const void *wl_proxy_get_listener(struct wl_proxy *proxy); +int wl_proxy_add_dispatcher(struct wl_proxy *proxy, + wl_dispatcher_func_t dispatcher_func, + const void * dispatcher_data, void *data); void wl_proxy_set_user_data(struct wl_proxy *proxy, void *user_data); void *wl_proxy_get_user_data(struct wl_proxy *proxy); uint32_t wl_proxy_get_id(struct wl_proxy *proxy); |
