[Xcb] A plea for self-sufficient headers

Jeremy A. Kolb jkolb at brandeis.edu
Tue May 31 19:04:35 PDT 2005


On Tue, 31 May 2005, Jamey Sharp wrote:

> On Tue, 2005-05-17 at 23:14 -0400, Jeremy Kolb wrote:
> > I was also thinking if there was a way they could be grouped better like 
> > by request/reply or maybe the iter functions grouped together.... not 
> > sure though, that might not work.
> 
> I'm not sure I understand what you want: request functions are already
> grouped together with reply functions, and related iterator functions
> appear together. Perhaps you meant keeping related types and functions
> close together?
>

I think that that's what I meant.  I also feel as if some whitespace might 
be useful to separate groupings of functions.  Right now everything is in 
a clump.  Maybe that would go along with the related bits being close 
together.

> Hey Josh, does it make it easier in the XSLT to keep all the types
> together, separate from the functions, etc.? If not, we should throw on
> the to-do list a change to put things in some more useful order. I set
> the order we have now once upon a time simply because I was having
> trouble getting things declared before use, as I recall: not any
> particularly good reason.
> 
> It does bug me to search for a particular request in xproto.h and find
> some structures I can't use before finding the function I actually
> wanted.
> 
> --Jamey
> 
> _______________________________________________
> xcb mailing list
> xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb
> 

Jeremy



More information about the xcb mailing list