# HG changeset patch # User Jonas Ã…dahl # Date 1455693260 -28800 # Wed Feb 17 15:14:20 2016 +0800 # Branch pointer-lock-v3 # Node ID 6ab58dc0c9f8dfc8c150c2861c3fa95a885b21fd # Parent 12fd4b5b33712bed3d63935395c1f5d3b217fbc8 wayland: Add wl_proxy_marshal_constructor_versioned sym wl_proxy_marshal_constructor_versioned was introduce in wayland-client 1.10. diff -r 12fd4b5b3371 -r 6ab58dc0c9f8 src/video/wayland/SDL_waylanddyn.h --- a/src/video/wayland/SDL_waylanddyn.h Tue Feb 16 13:51:24 2016 -0800 +++ b/src/video/wayland/SDL_waylanddyn.h Wed Feb 17 15:14:20 2016 +0800 @@ -79,6 +79,7 @@ #define wl_proxy_get_user_data (*WAYLAND_wl_proxy_get_user_data) #define wl_proxy_add_listener (*WAYLAND_wl_proxy_add_listener) #define wl_proxy_marshal_constructor (*WAYLAND_wl_proxy_marshal_constructor) +#define wl_proxy_marshal_constructor_versioned (*WAYLAND_wl_proxy_marshal_constructor_versioned) #define wl_seat_interface (*WAYLAND_wl_seat_interface) #define wl_surface_interface (*WAYLAND_wl_surface_interface) diff -r 12fd4b5b3371 -r 6ab58dc0c9f8 src/video/wayland/SDL_waylandsym.h --- a/src/video/wayland/SDL_waylandsym.h Tue Feb 16 13:51:24 2016 -0800 +++ b/src/video/wayland/SDL_waylandsym.h Wed Feb 17 15:14:20 2016 +0800 @@ -55,6 +55,9 @@ SDL_WAYLAND_MODULE(WAYLAND_CLIENT_1_4) SDL_WAYLAND_SYM(struct wl_proxy *, wl_proxy_marshal_constructor, (struct wl_proxy *, uint32_t opcode, const struct wl_interface *interface, ...)) +SDL_WAYLAND_MODULE(WAYLAND_CLIENT_1_10) +SDL_WAYLAND_SYM(struct wl_proxy *, wl_proxy_marshal_constructor_versioned, (struct wl_proxy *proxy, uint32_t opcode, const struct wl_interface *interface, uint32_t version, ...)) + SDL_WAYLAND_INTERFACE(wl_seat_interface) SDL_WAYLAND_INTERFACE(wl_surface_interface) SDL_WAYLAND_INTERFACE(wl_shm_pool_interface)