summaryrefslogtreecommitdiff
path: root/tests/data/small-server.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/small-server.h')
-rw-r--r--tests/data/small-server.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/data/small-server.h b/tests/data/small-server.h
index 0bd8a1d..4763f5b 100644
--- a/tests/data/small-server.h
+++ b/tests/data/small-server.h
@@ -64,6 +64,29 @@ struct intf_not_here;
*/
extern const struct wl_interface intf_A_interface;
+#ifndef INTF_A_FOO_ENUM
+#define INTF_A_FOO_ENUM
+enum intf_A_foo {
+ /**
+ * this is the first
+ */
+ INTF_A_FOO_FIRST = 0,
+ /**
+ * this is the second
+ */
+ INTF_A_FOO_SECOND = 1,
+ /**
+ * this is the third
+ * @since 2
+ */
+ INTF_A_FOO_THIRD = 2,
+};
+/**
+ * @ingroup iface_intf_A
+ */
+#define INTF_A_FOO_THIRD_SINCE_VERSION 2
+#endif /* INTF_A_FOO_ENUM */
+
/**
* @ingroup iface_intf_A
* @struct intf_A_interface