[PATCH 6/8] scanner: Generate client stubs for wl_display requests

Kristian Høgsberg hoegsberg at gmail.com
Wed Oct 10 14:27:22 PDT 2012


On Wed, Oct 10, 2012 at 04:39:02PM +0300, Pekka Paalanen wrote:
> On Tue,  9 Oct 2012 22:38:03 -0400
> Kristian Høgsberg <krh at bitplanet.net> wrote:
> 
> > We used to special case this because of the untyped new-id argument in
> > the bind request.  Now that the scanner can handle that, we can
> > remove the special case.
> 
> I think you could mention here, that wl_display_bind() now takes version
> number as a new argument, to fix the problem with interface versioning
> and backwards compatibility.

Good point, done.

> After these scanner patches, the documentation on wire format needs
> updating for the new_id.
> 
> > ---
> >  src/scanner.c        |    4 ----
> >  src/wayland-client.c |   31 -------------------------------
> >  src/wayland-client.h |   17 -----------------
> >  3 files changed, 52 deletions(-)
> 
> I've diffed the generated wayland-{,server-,client-}protocol.[ch] files
> before and after these two scanner patches, and found no other things
> to mention.

Sounds good, thanks.

Kristian


More information about the wayland-devel mailing list