From e5b4ec6a39c7e73a9ad231fcba850efba2ed8302 Mon Sep 17 00:00:00 2001 From: Peter Harris Date: Thu, 5 Feb 2009 16:09:05 -0500 Subject: [PATCH] Document enum, altenum, and mask Signed-off-by: Peter Harris --- doc/xml-xcb.txt | 6 ++++++ 1 file changed, 6 insertions(+) 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. + This element declares some padding in a data structure. The bytes -- 2.34.1