[PATCH wayland] introduce new headers wayland-client/server-core.h
Pekka Paalanen
ppaalanen at gmail.com
Thu Apr 30 03:34:18 PDT 2015
On Wed, 29 Apr 2015 09:06:13 -0700
Bill Spitzak <spitzak at gmail.com> wrote:
> On 04/29/2015 12:21 AM, Giulio Camuffo wrote:
> > Just to be clear, are you suggesting the scanner should generate two
> > headers for an xml, one including the old headers and one including
> > the core ones? I'm not sure i see the advantage of this compared to
> > the option...
>
> The back-compatibility one would be hand-written, not generated. It is
> only needed for existing protocols. However I don't feel this is necessary.
>
> Just to be clear, my proposal is:
>
> wayland-client.h : hand-written, includes:
> wayland-client-core.h
> wayland-client-protocol.h
> deprecated api
>
> wayland-client-core.h : hand-written, includes
> wl_event_queue, wl_proxy, etc
>
> *-protocol.h : generated, includes
> inline wrappers for messages and events
> wayland-client-core.h
Once again, after discussion, you ended up proposing exactly what the
original poster's original patches did.
Thanks,
pq
More information about the wayland-devel
mailing list