summaryrefslogtreecommitdiff
path: root/doc/xml-xcb.txt
diff options
context:
space:
mode:
authorPeter Harris <pharris@opentext.com>2009-02-05 16:09:05 -0500
committerPeter Harris <pharris@opentext.com>2009-02-19 15:00:30 -0500
commite5b4ec6a39c7e73a9ad231fcba850efba2ed8302 (patch)
tree5da420b2e316fe21ab330320df09fc56aedcd700 /doc/xml-xcb.txt
parentd001afae934bb5447368347c1f3d6e1e0ba090e1 (diff)
Document enum, altenum, and mask
Signed-off-by: Peter Harris <pharris@opentext.com>
Diffstat (limited to 'doc/xml-xcb.txt')
-rw-r--r--doc/xml-xcb.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/xml-xcb.txt b/doc/xml-xcb.txt
index 5d34754..feb9984 100644
--- a/doc/xml-xcb.txt
+++ b/doc/xml-xcb.txt
@@ -178,6 +178,12 @@ separated by a single colon. For example, to refer to the PIXMAP type defined
in glx rather than the one defined in xproto, use type="glx:PIXMAP" rather
than type="PIXMAP".
+Note: Most of the below may optionally contain an enum, altenum, or mask
+attribute, which follows the above rules for "type". "enum" is an exhaustive
+enum; the value is restricted to one of the constants named in the enum.
+"altenum" may be one of the values contained in the enum, but it need not be.
+"mask" refers to an enum to be used as a bitmask.
+
<pad bytes="integer" />
This element declares some padding in a data structure. The bytes