diff options
| author | Simon Ser <contact@emersion.fr> | 2024-04-08 13:32:31 +0200 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2024-04-24 16:18:28 +0000 |
| commit | 80c65f862f7919691d3b0d31810f5a40f8675f37 (patch) | |
| tree | b8941a0918ffb67c1b1bf7d47408f5d9e56fbfb2 /tests/data/small-code.c | |
| parent | protocol: mark wl_pointer.axis_discrete as deprecated (diff) | |
| download | wayland-80c65f862f7919691d3b0d31810f5a40f8675f37.tar wayland-80c65f862f7919691d3b0d31810f5a40f8675f37.tar.gz wayland-80c65f862f7919691d3b0d31810f5a40f8675f37.tar.bz2 wayland-80c65f862f7919691d3b0d31810f5a40f8675f37.tar.lz wayland-80c65f862f7919691d3b0d31810f5a40f8675f37.tar.xz wayland-80c65f862f7919691d3b0d31810f5a40f8675f37.tar.zst wayland-80c65f862f7919691d3b0d31810f5a40f8675f37.zip | |
tests: add deprecated-since attributes
Add a new event and enum entry to small.xml with a deprecated-since
attribute to exercise the scanner code generation.
Signed-off-by: Simon Ser <contact@emersion.fr>
Diffstat (limited to 'tests/data/small-code.c')
| -rw-r--r-- | tests/data/small-code.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/data/small-code.c b/tests/data/small-code.c index 88e8257..b654549 100644 --- a/tests/data/small-code.c +++ b/tests/data/small-code.c @@ -52,11 +52,12 @@ static const struct wl_message intf_A_requests[] = { static const struct wl_message intf_A_events[] = { { "hey", "", small_test_types + 0 }, + { "yo", "2", small_test_types + 0 }, }; WL_EXPORT const struct wl_interface intf_A_interface = { "intf_A", 3, 3, intf_A_requests, - 1, intf_A_events, + 2, intf_A_events, }; |
