diff options
author | Ian Osgood <iano@quirkster.com> | 2006-03-20 07:36:39 -0800 |
---|---|---|
committer | Ian Osgood <iano@quirkster.com> | 2006-03-20 07:36:39 -0800 |
commit | 946717baec905a8a58ed9f833a3fd91e71dd3a02 (patch) | |
tree | dd72e358069ae21298891f5490c9ae51a914d427 /doc | |
parent | f4c0265fea283895e7d87091c77369542b1704a4 (diff) | |
download | xcb-proto-946717baec905a8a58ed9f833a3fd91e71dd3a02.tar.gz |
Update xml-xcb.txt to include new <bit> expression.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/xml-xcb.txt | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/xml-xcb.txt b/doc/xml-xcb.txt index 51e641b..b88d182 100644 --- a/doc/xml-xcb.txt +++ b/doc/xml-xcb.txt @@ -259,9 +259,9 @@ Expressions <op op="operator">expression expression</op> The op element represents an operator, with the op attribute specifying - which operator. The supported operations are *, /, &, and <<, and - their semantics are identical to the corresponding operators in C. The two - operand expressions may be fieldref, value, or op elements. + which operator. The supported operations are +, -, *, /, &, and + <<, and their semantics are identical to the corresponding operators + in C. The two operand expressions may be other expression elements. <fieldref>identifier</fieldref> @@ -273,3 +273,8 @@ Expressions The value element represents a literal integer value in an expression. The integer may be expressed in decimal or hexadecimal. + +<bit>integer</bit> + + The bit element represents a literal bitmask value in an expression. + The integer must be in the range 0..31, expanding to (1<<n) in C. |