wayland/tests/data
Guido Günther cc8b6aa3d9 scanner: Guard interface declarations
This allows to include client and server headers in the same file
fixing warnings like

In file included from ../subprojects/wlroots/include/wlr/types/wlr_layer_shell_v1.h:16,
                 from ../src/desktop.h:16,
                 from ../src/server.h:13,
                 from ../tests/testlib.c:8:
tests/59830eb@@footest@sta/wlr-layer-shell-unstable-v1-protocol.h:80:34: warning: redundant redeclaration of ‘zwlr_layer_shell_v1_interface’ [-Wredundant-decls]
   80 | extern const struct wl_interface zwlr_layer_shell_v1_interface;
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../tests/testlib.h:8,
                 from ../tests/testlib.c:7:
tests/59830eb@@footest@sta/wlr-layer-shell-unstable-v1-client-protocol.h:77:34: note: previous declaration of ‘zwlr_layer_shell_v1_interface’ was here
   77 | extern const struct wl_interface zwlr_layer_shell_v1_interface;
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../subprojects/wlroots/include/wlr/types/wlr_layer_shell_v1.h:16,
                 from ../src/desktop.h:16,
                 from ../src/server.h:13,
                 from ../tests/testlib.c:8:
tests/59830eb@@footest@sta/wlr-layer-shell-unstable-v1-protocol.h:106:34: warning: redundant redeclaration of ‘zwlr_layer_surface_v1_interface’ [-Wredundant-decls]
  106 | extern const struct wl_interface zwlr_layer_surface_v1_interface;
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../tests/testlib.h:8,
                 from ../tests/testlib.c:7:
tests/59830eb@@footest@sta/wlr-layer-shell-unstable-v1-client-protocol.h:103:34: note: previous declaration of ‘zwlr_layer_surface_v1_interface’ was here
  103 | extern const struct wl_interface zwlr_layer_surface_v1_interface;

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Closes: #158
2020-04-23 10:17:18 +02:00
..
bad-identifier-arg.xml tests: Verify that wayland_scanner can catch bad identifiers 2019-05-02 17:42:59 +00:00
bad-identifier-entry.xml tests: Verify that wayland_scanner can catch bad identifiers 2019-05-02 17:42:59 +00:00
bad-identifier-enum.xml tests: Verify that wayland_scanner can catch bad identifiers 2019-05-02 17:42:59 +00:00
bad-identifier-event.xml tests: Verify that wayland_scanner can catch bad identifiers 2019-05-02 17:42:59 +00:00
bad-identifier-interface.xml tests: Verify that wayland_scanner can catch bad identifiers 2019-05-02 17:42:59 +00:00
bad-identifier-protocol.xml tests: Verify that wayland_scanner can catch bad identifiers 2019-05-02 17:42:59 +00:00
bad-identifier-request.xml tests: Verify that wayland_scanner can catch bad identifiers 2019-05-02 17:42:59 +00:00
example-client.h scanner: Guard interface declarations 2020-04-23 10:17:18 +02:00
example-code.c scanner: prepend protocol name to types symbol 2019-09-11 13:27:03 -05:00
example-server.h scanner: Guard interface declarations 2020-04-23 10:17:18 +02:00
example.xml protocol: add axis_source.wheel_tilt 2017-01-24 12:00:19 +02:00
small-client-core.h scanner: Guard interface declarations 2020-04-23 10:17:18 +02:00
small-client.h scanner: Guard interface declarations 2020-04-23 10:17:18 +02:00
small-code-core.c scanner: prepend protocol name to types symbol 2019-09-11 13:27:03 -05:00
small-code.c scanner: prepend protocol name to types symbol 2019-09-11 13:27:03 -05:00
small-private-code.c scanner: prepend protocol name to types symbol 2019-09-11 13:27:03 -05:00
small-server-core.h scanner: Guard interface declarations 2020-04-23 10:17:18 +02:00
small-server.h scanner: Guard interface declarations 2020-04-23 10:17:18 +02:00
small.xml scanner: support "since" attribute for enum entries 2017-01-24 11:59:00 +02:00