From: Peter Harris Date: Thu, 5 Feb 2009 21:09:05 +0000 (-0500) Subject: Document enum, altenum, and mask X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5b4ec6a39c7e73a9ad231fcba850efba2ed8302;p=free-sw%2Fxcb%2Fproto Document enum, altenum, and mask Signed-off-by: Peter Harris --- 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