[Xcb] XCB naming conventions
Vincent Torri
vtorri at univ-evry.fr
Wed Sep 13 11:39:04 PDT 2006
Josh : would it be difficult to change the xslt files to get that naming
convention ?
Vincent
PS : I agree with Jeremy :)
XCBWINDOWNew
xcb_window_new
I really prefer the second one, but maybe i'm too used with glib, gtk,
gstreamer and all the efl and other libs that use the same naming
convention
On Wed, 13 Sep 2006, Jeremy A. Kolb wrote:
> 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
> changes:
>
> For functions:
> xcb_ followed by the extension and function name all in lowercase, words
> separated by underscores.
>
> Ex.
> xcb_window_new
> xcb_glx_create_context.
>
> For structures/enums/unions etc.:
> Xcb followed by the extension and name with the first letter of
> each word capitalized,
>
> Ex.
> XcbWindow
> XcbGlxContext
>
>
> 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.
>
> Jeremy
>
> ::Puts on his flame retardent undies::
>
> _______________________________________________
> Xcb mailing list
> Xcb at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xcb
>
> --
> Ce message a été vérifié par MailScanner
> pour des virus ou des polluriels et rien de
> suspect n'a été trouvé.
> Message délivré par le serveur de messagerie de l'Université d'Evry.
>
>
More information about the Xcb
mailing list