[PATCH wayland] scanner: Generate 'since' macros for requests as well
Daniel Stone
daniel at fooishbar.org
Fri Oct 9 05:35:32 PDT 2015
Hi,
On 8 October 2015 at 08:00, Hardening <rdp.effort at gmail.com> wrote:
> Le 08/10/2015 05:10, Jonas Ådahl a écrit :
>> 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);
>> }
>>
>>
> I hit the case this week, this patch is definitely a must-have.
>
> Reviewed-by: David FORT <contact at hardening-consulting.com>
Reviewed-by: Daniel Stone <daniels at collabora.com>
Please flex your git push muscles. :)
Cheers,
Daniel
More information about the wayland-devel
mailing list