Le 17/09/2009 13:51, Peter Hutterer a écrit :
> yes, we do. Though I'd prefer some sort of plan on how to deal with that for
> every extension affected (i.e. all).
> something like a single header file specifying the supported version for all
> extensions rather than 25 SERVER_FOOBAR_MAJOR spread over different
> source files seems sensible enough to me. Any comments?

Then in this case, wouldn't it be possible factorize all the 
{S,}Proc*QueryVersion() that are sprinkled throughout the server. I read 
a bunch of those and they pretty much all do the same basic stuff.

Either a big macro (ugly) or some more clever code added to 
AddExtension() which could set up the QueryVersion() calls automatically 
if asked to.

Food for thoughts :)

Rémi
_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to