[Xcb] XCB naming conventions

Jeremy A. Kolb jkolb at brandeis.edu
Wed Sep 13 11:19:05 PDT 2006

Hi all,

There's been some chatter about the current naming convention in xcb.  
Vincent and I have been talking a lot about this lately and we both 
believe that it's just too unreadable right now.

It would be nice to follow other open source projects such at gtk or 
cairo.  As such we think that it would be more readable with the following 

For functions:
xcb_ followed by the extension and function name all in lowercase, words 
separated by underscores.


For structures/enums/unions etc.:
Xcb followed by the extension and name with the first letter of 
each word capitalized,


We think this would be much easier to read.  What's everyone think?  This 
would require changes to ecore/x11/mesa/xcb-utils etc. But nothing a good 
sed script wouldn't be able to handle.


::Puts on his flame retardent undies::

More information about the Xcb mailing list