Fixing devPrivates

Matthias Hopf mhopf at suse.de
Fri Apr 30 02:31:48 PDT 2010


On Apr 29, 10 10:20:38 -0700, Keith Packard wrote:
> On Thu, 29 Apr 2010 14:06:19 +0200, Matthias Hopf <mhopf at suse.de> wrote:
> > I suggest that you have some sort of compile-time define available to
> > determine the API type - in case some out-of-Xserver part (drivers?)
> > wants to be backward compatible and support both APIs.
> That's a good idea. I can add a #define to let drivers know that there's
> a change in the DevPrivate API. Of course, they could check the ABI
> version numbers while building, but having something specific to the
> DevPrivate change would make things easier.

Hm, right, forgot about the ABI version. That would be enough,
especially for rarely externally used APIs like this.

Thanks

Matthias

-- 
Matthias Hopf <mhopf at suse.de>      __        __   __
Maxfeldstr. 5 / 90409 Nuernberg   (_   | |  (_   |__          mat at mshopf.de
Phone +49-911-74053-715           __)  |_|  __)  |__  R & D   www.mshopf.de


More information about the xorg-devel mailing list