[PATCH wayland] scanner: Generate 'since' macros for requests as well
Jonas Ådahl
jadahl at gmail.com
Wed Oct 7 20:15:10 PDT 2015
We already generate WL_[INTERFACE]_[REQUEST]_SINCE_VERSION macros for
events in the server protocol headers. Lets do the same for requests in
the client protocol headers as well.
Signed-off-by: Jonas Ådahl <jadahl at gmail.com>
---
src/scanner.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/scanner.c b/src/scanner.c
index 9b41ae4..2d5a0d8 100644
--- a/src/scanner.c
+++ b/src/scanner.c
@@ -1270,6 +1270,7 @@ emit_header(struct protocol *protocol, enum side side)
} else {
emit_structs(&i->event_list, i, side);
emit_opcodes(&i->request_list, i);
+ emit_opcode_versions(&i->request_list, i);
emit_stubs(&i->request_list, i);
}
--
2.4.3
More information about the wayland-devel
mailing list