[Xcb] XML-XCB: language-neutral bit constants

Jeremy A. Kolb jkolb at brandeis.edu
Tue Mar 14 10:56:53 PST 2006


On Tue, 14 Mar 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="&lt;&lt;"><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.
> 
> Ian
> 
> 

Are you replacing the op tag?  Because that's a bad idea.

I would change that to lbit or something since i may be possible to shift 
right as well.

Jeremy



More information about the Xcb mailing list