From: Jonas Ådahl Date: Thu, 8 Oct 2015 03:00:54 +0000 (+0800) Subject: scanner: Generate 'since' macros for requests as well X-Git-Tag: 1.9.91~55 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9ebdcab1096acacffc3509888219d28a4c28a57d;p=platform%2Fupstream%2Fwayland.git scanner: Generate 'since' macros for requests as well 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 Reviewed-by: David FORT Reviewed-by: Daniel Stone --- diff --git a/src/scanner.c b/src/scanner.c index 5504fce..f456aa5 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); }