[Xcb] XML-XCB: language-neutral bit constants
Josh Triplett
josh at freedesktop.org
Wed Mar 15 01:40:42 PST 2006
Ian Osgood wrote:
>> From: Ian Osgood <iano at quirkster.com>
>> (BTW: I'd like to try my hand at this XSLT stuff with a better construct
>> for bitmask constants.
>
> I came up with <bit bit="n"/>, which replaces:
>
> <op op="<<"><value>1</value><value>n</value></op>
>
> Unless there are objections, I'll push my changes to xproto.xml,
> xcb.xsd, and c-client.xsl.
Sounds like a great idea to me. I don't know if that might look better
as <bit>n</bit> or <bit bit="n" /> or <bit num="n" />. Choose whichever
makes the most sense to you.
Also, feel free to add reasonable English alternative names for <<
and &. Naming for the latter should keep in mind that we may want
logical and (&&) at some point.
- Josh Triplett
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
Url : http://lists.freedesktop.org/archives/xcb/attachments/20060315/0645091e/signature.pgp
More information about the Xcb
mailing list