Remove mentions of valueparam from documentation since support was dropped in v1.12

Signed-off-by: Robert Knutsson <zybreak@gmail.com>
Part-of: <https://gitlab.freedesktop.org/xorg/proto/xcbproto/-/merge_requests/63>
This commit is contained in:
Robert Knutsson 2025-10-18 23:14:55 +02:00
parent 6592ec3573
commit 5305be7e11
2 changed files with 3 additions and 19 deletions

View file

@ -256,16 +256,6 @@ enum; the value is restricted to one of the constants named in the enum.
the expression giving the value of the field. See the section "Expressions"
for details on the expression representation.
<valueparam value-mask-type="identifier" value-mask-name="identifier"
value-list-name="identifier" />
This element represents a BITMASK/LISTofVALUE parameter pair: a bitmask
defining the set of values included, and a list containing these values.
value-mask-type gives the type of the bitmask; this must be CARD16 or
CARD32. value-mask-name gives the field name of the bitmask, and
value-list-name gives the field name of the list of values. Please use
<switch> instead for new protocol definitions.
<switch name="identifier"> switch expression
<bitcase [name="identifier"]> bitcase expression(s), fields </bitcase>
<case [name="identifier"]> case expression(s), fields </case>
@ -298,8 +288,7 @@ enum; the value is restricted to one of the constants named in the enum.
The same value may appear in multiple <case> or <bitcase> elements.
New protocol definitions should prefer to use this instead of <valueparam>
and instead of <union>.
New protocol definitions should prefer to use this instead of <union>.
Expressions

View file

@ -346,13 +346,8 @@ The patch that fixed this server bug in X.org is here:
<pad bytes="1" />
<field type="CARD32" name="num_FB_configs" />
<field type="CARD32" name="num_properties" />
<pad bytes="16" />
<!--
<valueparam value-mask-type="CARD32"
value-mask-name="value_mask"
value-list-name="value_list" />
-->
<list type="CARD32" name="property_list">
<pad bytes="16" />
<list type="CARD32" name="property_list">
<fieldref>length</fieldref>
</list>
</reply>