mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-02-17 22:05:58 -05:00
scanner: allow element-type and enum on array args
This allows an element type and an enum to optionally be specified on array args in protocol xml. If an enum is specified the element type is required and is subject to the same restrictions as a the type of a non-array argument with an enum specified. Signed-off-by: Isaac Freund <mail@isaacfreund.com>
This commit is contained in:
parent
344d31f871
commit
c739b975ad
2 changed files with 49 additions and 2 deletions
|
|
@ -28,5 +28,6 @@
|
|||
<!ATTLIST arg interface CDATA #IMPLIED>
|
||||
<!ATTLIST arg allow-null CDATA #IMPLIED>
|
||||
<!ATTLIST arg enum CDATA #IMPLIED>
|
||||
<!ATTLIST arg element-type CDATA #IMPLIED>
|
||||
<!ELEMENT description (#PCDATA)>
|
||||
<!ATTLIST description summary CDATA #REQUIRED>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue