[waffle] [PATCH] wayland: Wrap wl_proxy_marshal_constructor_versioned v2

Chad Versace chad.versace at intel.com
Wed Jun 22 04:08:27 UTC 2016


On Thu 14 Apr 2016, Michel Dänzer wrote:
> From: Michel Dänzer <michel.daenzer at amd.com>
> 
> Fixes build failure due to wl_proxy_marshal_constructor_versioned being
> unresolved when building against current wayland.
> 
> This API was introduced in wayland 1.9.91 by commit 557032e3 ("Track
> protocol object versions inside wl_proxy."). The waffle code doesn't
> reference wl_proxy_marshal_constructor_versioned directly but
> indirectly via wayland-scanner.
> 
> v2:
> * Add paragraph about how wl_proxy_marshal_constructor_versioned was
>   introduced. (Emil Velikov)
> * Only resolve wl_proxy_marshal_constructor_versioned with wayland >=
>   1.9.91.
> 
> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
> ---
>  src/waffle/wayland/wayland_wrapper.c | 5 +++++
>  src/waffle/wayland/wayland_wrapper.h | 8 ++++++++
>  2 files changed, 13 insertions(+)

Michel, thanks for the patch. It's merged to master.

I squashed a small fix into your patch: `#include <wayland-version.h>`
was needed to make your version check work.


More information about the waffle mailing list