aboutsummaryrefslogtreecommitdiff
path: root/libxcb/xcb-proto/doc
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2015-02-22 21:39:56 +0100
committermarha <marha@users.sourceforge.net>2015-02-22 21:39:56 +0100
commit462f18c7b25fe3e467f837647d07ab0a78aa8d2b (patch)
treefc8013c0a1bac05a1945846c1697e973f4c35013 /libxcb/xcb-proto/doc
parent36f711ee12b6dd5184198abed3aa551efb585587 (diff)
downloadvcxsrv-462f18c7b25fe3e467f837647d07ab0a78aa8d2b.tar.gz
vcxsrv-462f18c7b25fe3e467f837647d07ab0a78aa8d2b.tar.bz2
vcxsrv-462f18c7b25fe3e467f837647d07ab0a78aa8d2b.zip
Merged origin/release (checked in because wanted to merge new stuff)
Diffstat (limited to 'libxcb/xcb-proto/doc')
-rw-r--r--libxcb/xcb-proto/doc/xml-xcb.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/libxcb/xcb-proto/doc/xml-xcb.txt b/libxcb/xcb-proto/doc/xml-xcb.txt
index 235958de3..f8129ea9c 100644
--- a/libxcb/xcb-proto/doc/xml-xcb.txt
+++ b/libxcb/xcb-proto/doc/xml-xcb.txt
@@ -298,6 +298,23 @@ Expressions
the structure containing this expression. The identifier is the value of
the "name" attribute on the referenced field.
+<paramref type="type">identifier</paramref>
+
+ A paramref is similar to a fieldref, but it refers to the value of
+ a field in the context which refers to the struct which contains the paramref.
+
+ So, it refers to a field outside of the structure where it is defined.
+ This has the following consequences:
+ * The generator cannot deduce its type.
+ So, it is mandatory to specify its type.
+ * The identifier-name must not be used as a field in the structure
+ which contaons the paramref.
+
+ For an example, see struct "DeviceTimeCoord" and request/reply
+ "GetDeviceMotionEvents" in xinput.xml, where paramref "num_axes"
+ in struct DeviceTimeCoord refers to field "num_axes" in
+ the DeviceTimeCoord reply.
+
<value>integer</value>
The value element represents a literal integer value in an expression. The
@@ -322,10 +339,26 @@ Expressions
This element represents a sumation of the elements of the referenced list.
+<sumof ref="identifier" >expression</sumof>
+
+ The expression is evaluated for each element of the referenced list,
+ in the context of this element.
+ This sumof element then represents a sumation of the results of these
+ evaluations.
+
+ expression will usually be a fieldref which references a field of
+ a list-element or an expression containing a fieldref,
+ such as popcount of a fieldref.
+
<popcount>expression</popcount>
This element represents the number of bits set in the expression.
+<listelement-ref/>
+
+ This element represents the current list-element when used inside
+ a list-iteration expression such as <sumof>.
+
Documentation
-------------