Merge branch 'xsd-var-documentation' into 'master'

Add documentation for field type

See merge request xorg/proto/xcbproto!52
This commit is contained in:
Robert Knutsson 2026-01-04 02:48:06 +00:00
commit 7eed122afb

View file

@ -60,8 +60,12 @@ authorization from the authors.
<xsd:complexType name="var">
<xsd:attribute name="name" type="xsd:string" use="required" />
<xsd:attribute name="type" type="xsd:string" use="required" />
<!-- Used for fields which are enums. Refers to the type which
describes the enumeration. -->
<xsd:attribute name="enum" type="xsd:string" use="optional" />
<xsd:attribute name="altenum" type="xsd:string" use="optional" />
<!-- Used for fields which are bitmasks. Refers to the type which
describes the mask. -->
<xsd:attribute name="mask" type="xsd:string" use="optional" />
<xsd:attribute name="altmask" type="xsd:string" use="optional" />
</xsd:complexType>