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>
This commit is contained in:
Simon Ser 2024-04-08 13:32:31 +02:00
parent da8e1bbc45
commit 80c65f862f
8 changed files with 105 additions and 3 deletions

View file

@ -62,11 +62,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_PRIVATE const struct wl_interface intf_A_interface = {
"intf_A", 3,
3, intf_A_requests,
1, intf_A_events,
2, intf_A_events,
};