[Xcb] [PATCH 0/2] xcb: Underscore placement in extension name

Josh Triplett josh at freedesktop.org
Mon Apr 9 22:29:47 PDT 2007

Eamon Walsh wrote:
> Ian Osgood wrote:
>> I would argue that extension-oneword should be the default. Of all
>> the extensions, I think only xc_misc disobeys this rule (and
>> inconsistently; its version constants are named XCB_XCMISC_*). This
>> would result in a smaller patchset.
> Also XPrint -> x_print.  I agree that oneword should be the default
> behavior (perhaps even the only behavior) but was concerned about
> backwards compatibility.  If you don't mind breaking XPrint and xc_misc
> I'd say go for it.

We mind breaking them (the function names for those two extensions should not
change at this point), but we could certainly change the special case in
c-client.xsl to only address xc_misc and x_print, and then have all other
current and future extensions use one word for the extension name.  That seems
like a reasonable approach to me, and it would remove the need to expand the
list of special cases in the future.  Please do submit a patch doing that, and
we'll happily apply it.

Josh Triplett

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.freedesktop.org/archives/xcb/attachments/20070409/bf548c72/signature.pgp

More information about the Xcb mailing list