scanner: allow element-bits on array args

This attribute is optional but required if the element-type attribute is
specified. This attribute specifies the size of the array elements in
bits to allow for better WAYLAND_DEBUG logging and scanner code
generation.

Signed-off-by: Isaac Freund <mail@isaacfreund.com>
This commit is contained in:
Isaac Freund 2023-03-09 22:22:58 +01:00
parent 35a159fb28
commit f78acbeadd
2 changed files with 82 additions and 43 deletions

View file

@ -29,5 +29,6 @@
<!ATTLIST arg allow-null CDATA #IMPLIED>
<!ATTLIST arg enum CDATA #IMPLIED>
<!ATTLIST arg element-type CDATA #IMPLIED>
<!ATTLIST arg element-bits CDATA #IMPLIED>
<!ELEMENT description (#PCDATA)>
<!ATTLIST description summary CDATA #REQUIRED>