mirror of
https://gitlab.freedesktop.org/xorg/proto/xcbproto.git
synced 2026-05-08 10:08:01 +02:00
Update xml-xcb.txt to include new <bit> expression.
This commit is contained in:
parent
f4c0265fea
commit
946717baec
1 changed files with 8 additions and 3 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue