From b258d5f36137088e5cb5ae097db7964290da7d55 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sat, 17 Sep 2022 10:53:56 +0200 Subject: scanner: add validators for enums Right now compositors need to manually check that enum values sent by the client are valid. In particular: - Check that the value sent by the client is not outside of the enum. - Check that the version of the enum entry is consistent with the object version. Automatically generate validator functions to perform these tasks. Signed-off-by: Simon Ser Closes: https://gitlab.freedesktop.org/wayland/wayland/-/issues/104 --- tests/data/small.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/data/small.xml') diff --git a/tests/data/small.xml b/tests/data/small.xml index 832ed0e..685c891 100644 --- a/tests/data/small.xml +++ b/tests/data/small.xml @@ -53,6 +53,7 @@ + -- cgit v1.2.3-70-g09d2