[PATCH wayland] tests: add an headers test

Pekka Paalanen ppaalanen at gmail.com
Thu May 21 00:11:15 PDT 2015


On Wed, 20 May 2015 15:47:00 -0700
Bill Spitzak <spitzak at gmail.com> wrote:

> Please don't duplicate the functions in multiple headers!
> 
> You could achieve the same result this way so that there is only one 
> copy of each function in the headers:
> 
> wayland-client-protocol-core.h =
>    (the same as you have it, generated by wayland-scanner -c)
> 
> wayland-client-protocol.h =
>    #include <wayland-client-protocol-core.h>
>    #include <wayland-client.h>
> 
> However this really is a mess and these extra header files do nothing 
> except confuse anybody trying to learn wayland. Would vastly prefer 
> making -c the default and requiring the *VERY FEW* programs that no 
> longer compile to be patched.

We've been over this. No.

This is about testing the generator and existing headers, not
installing more headers.
- pq


More information about the wayland-devel mailing list