From 80c65f862f7919691d3b0d31810f5a40f8675f37 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 8 Apr 2024 13:32:31 +0200 Subject: 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 --- tests/data/small-code.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/data/small-code.c') 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, }; -- cgit v1.2.3-70-g09d2