wayland/tests/data
Simon Ser dbfa8d784e scanner: use separate guards for validator functions
Generated XXX_is_valid() functions for enums are guarded behind the
same #define as the enum itself. This worked fine until recently,
but since fbd7460737 ("scanner: add new enum-header mode") we're
also generating enum-only headers.

When including the enum-only header first, and then the server
header, the validator functions are missing.

Define a separate guard to fix this.

Signed-off-by: Simon Ser <contact@emersion.fr>
2025-02-23 23:38:15 +01:00
..
bad-identifier-arg.xml
bad-identifier-entry.xml
bad-identifier-enum.xml
bad-identifier-event.xml
bad-identifier-interface.xml
bad-identifier-protocol.xml
bad-identifier-request.xml
empty-client.h
empty-code.c
empty-server.h
empty.xml
example-client.h
example-code.c
example-enum.h
example-server.h
example.xml
README.md
small-client-core.h
small-client.h
small-code-core.c
small-code.c
small-private-code.c
small-server-core.h
small-server.h
small.xml

To re-generate the test data, run:

ninja -C build/ gen-scanner-test