[PATCH wayland] introduce new headers wayland-client/server-core.h

Bill Spitzak spitzak at gmail.com
Mon Apr 27 11:53:24 PDT 2015


On 04/26/2015 11:48 PM, Marek Chalupa wrote:

>
> Is the --include-core-headers option necessary? Until now the scanner
> included wayland-client/server.h
> which included the %-protocol.h, but since there are inclusion guards,
> the protocol header was not
> included again - so including wayland-client/server.h is the same as
> including wayland-client/server-core.h, isn't it?
> So including the core headers should be good for all cases.

Even if there is a reason to not include the core headers (I don't see 
it, however) it certainly would be the default to include them. 
Therefore the switch should at least be reversed so no switch means to 
include them.


More information about the wayland-devel mailing list