[PATCH wayland] scanner: Generate 'since' macros for requests as well
Jonas Ådahl
jadahl at gmail.com
Fri Oct 9 06:07:54 PDT 2015
On Fri, Oct 09, 2015 at 01:35:32PM +0100, Daniel Stone wrote:
> 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. :)
Thanks! Patch pushed:
7c9135e..9ebdcab master -> master
Jonas
>
> Cheers,
> Daniel
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list