[PATCH wayland v4] scanner: add a new --include-core-only option

Pekka Paalanen ppaalanen at gmail.com
Thu Apr 30 05:20:21 PDT 2015

On Wed, 29 Apr 2015 16:46:51 +0300
Giulio Camuffo <giuliocamuffo at gmail.com> wrote:

> When using this new option the generated code will include the new
> core headers instead of the old ones. The default needs to remain
> unchanged for backward compatibility with old code.
> With this change the generated headers will now forward declare all
> types and interfaces it uses; that is needed when generating headers
> for a my-extension.xml with --include-core-only, since it may use
> types defined in wayland.xml.
> The same is done also without --include-core-only, since it is an
> harmless change.
> getopt_long() is used for the option handling.
> ---
> v4: removed leftover line
>  src/scanner.c | 208 +++++++++++++++++++++++++++++++++++++++++-----------------
>  1 file changed, 149 insertions(+), 59 deletions(-)

Pushed with R-b me.
   ea73cb0..e799b1f  master -> master


More information about the wayland-devel mailing list