On Thu, 29 Apr 2010 14:06:19 +0200, Matthias Hopf <[email protected]> wrote:
> On Apr 28, 10 23:59:06 -0700, Keith Packard wrote:
> > It's possible to adapt to this change with some very small adjustments
> > in your code; simply replace 'int' in the index variable declaration
> > with 'DevPrivateKeyRec' and make sure dixRegisterPrivateKey is called
> > (potentially replacing an existing call to dixRequestPrivate). The rest
> > of your code should work just fine.
> 
> 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.

> I don't see that in the header file yet.

Nope, just getting stuff working.

-- 
[email protected]

Attachment: pgpYaho7PHQBQ.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to