77 optional ExtensionFieldSet extensionFieldSets[] = 5;
88#}
99
10+ {{- field.api_maturity | idltxt -}}
1011{% - if field .qualities %} {{field.qualities | idltxt}} {% endif -%}
1112{{field.data_type.name}}
1213{% - if field .data_type .max_length -%} <{{field.data_type.max_length}}> {% - endif -%}
1819{% macro render_struct (s ) -%} {#
1920 Macro for the output of a complete struct
2021#}
22+ {{- s.api_maturity | idltxt -}}
2123{% - if s .is_shared %} shared {% endif -%}
2224{% - if s .tag %} {{s.tag | idltxt}} {% endif -%}
2325{% if s .qualities %} {{s.qualities | idltxt}} {% endif -%}
@@ -42,18 +44,18 @@ struct {{s.name}} {##}
4244// This IDL was auto-generated from a parsed data structure
4345
4446{% for enum in idl .global_enums %}
45- enum {{enum.name}} : {{ enum.base_type}} {
47+ {{enum.api_maturity | idltxt}} enum {{enum.name}} : {{ enum.base_type}} {
4648 {% for entry in enum .entries %}
47- {{entry.name}} = {{entry.code}} {{-specification_name_clarification(entry)}};
49+ {{entry.api_maturity | idltxt}}{{entry. name}} = {{entry.code}} {{-specification_name_clarification(entry)}};
4850 {% endfor %}
4951}
5052
5153{% endfor %}
5254
5355{% - for bitmap in idl .global_bitmaps %}
54- bitmap {{bitmap.name}} : {{ bitmap.base_type}} {
56+ {{bitmap.api_maturity | idltxt}} bitmap {{bitmap.name}} : {{ bitmap.base_type}} {
5557 {% for entry in bitmap .entries %}
56- {{entry.name}} = 0x{{"%X" | format(entry.code)}} {{-specification_name_clarification(entry)}};
58+ {{entry.api_maturity | idltxt}}{{entry. name}} = 0x{{"%X" | format(entry.code)}} {{-specification_name_clarification(entry)}};
5759 {% endfor %}
5860}
5961
@@ -72,9 +74,9 @@ bitmap {{bitmap.name}} : {{ bitmap.base_type}} {
7274
7375 {% for enum in cluster .enums | selectattr ("is_global" )%}
7476 /* GLOBAL:
75- enum {{enum.name}} : {{ enum.base_type}} {
77+ {{enum.api_maturity | idltxt}} enum {{enum.name}} : {{ enum.base_type}} {
7678 {% for entry in enum .entries %}
77- {{entry.name}} = {{entry.code}} {{-specification_name_clarification(entry)}};
79+ {{entry.api_maturity | idltxt}}{{entry. name}} = {{entry.code}} {{-specification_name_clarification(entry)}};
7880 {% endfor %}
7981 }
8082 */
@@ -83,9 +85,9 @@ bitmap {{bitmap.name}} : {{ bitmap.base_type}} {
8385
8486 {% - for bitmap in cluster .bitmaps | selectattr ("is_global" )%}
8587 /* GLOBAL:
86- bitmap {{bitmap.name}} : {{ bitmap.base_type}} {
88+ {{bitmap.api_maturity | idltxt}} bitmap {{bitmap.name}} : {{ bitmap.base_type}} {
8789 {% for entry in bitmap .entries %}
88- {{entry.name}} = 0x{{"%X" | format(entry.code)}} {{-specification_name_clarification(entry)}};
90+ {{entry.api_maturity | idltxt}}{{entry. name}} = 0x{{"%X" | format(entry.code)}} {{-specification_name_clarification(entry)}};
8991 {% endfor %}
9092 }
9193 */
@@ -100,20 +102,22 @@ bitmap {{bitmap.name}} : {{ bitmap.base_type}} {
100102 {% endfor %}
101103
102104 {% - for enum in cluster .enums | rejectattr ("is_global" )%}
103- {% + if enum .is_shared %} shared {% endif -%}
105+ {% + if enum .api_maturity %} {{enum.api_maturity | idltxt}}{% endif -%}
106+ {% - if enum .is_shared %} shared {% endif -%}
104107 enum {{enum.name}} : {{ enum.base_type}} {
105108 {% for entry in enum .entries %}
106- {{entry.name}} = {{entry.code}} {{-specification_name_clarification(entry)}};
109+ {{entry.api_maturity | idltxt}}{{entry. name}} = {{entry.code}} {{-specification_name_clarification(entry)}};
107110 {% endfor %}
108111 }
109112
110113 {% endfor %}
111114
112115 {% - for bitmap in cluster .bitmaps | rejectattr ("is_global" )%}
113- {% + if bitmap .is_shared %} shared {% endif -%}
116+ {% + if bitmap .api_maturity %} {{bitmap.api_maturity | idltxt}}{% endif -%}
117+ {% - if bitmap .is_shared %} shared {% endif -%}
114118 bitmap {{bitmap.name}} : {{ bitmap.base_type}} {
115119 {% for entry in bitmap .entries %}
116- {{entry.name}} = 0x{{"%X" | format(entry.code)}} {{-specification_name_clarification(entry)}};
120+ {{entry.api_maturity | idltxt}}{{entry. name}} = 0x{{"%X" | format(entry.code)}} {{-specification_name_clarification(entry)}};
117121 {% endfor %}
118122 }
119123
@@ -152,7 +156,7 @@ bitmap {{bitmap.name}} : {{ bitmap.base_type}} {
152156 {% if c .description %}
153157 /** {{c.description}} */
154158 {% endif %}
155- {{c.qualities | idltxt}}command {{c | command_access}}{{c.name}}(
159+ {{c.api_maturity | idltxt}}{{c. qualities | idltxt}}command {{c | command_access}}{{c.name}}(
156160 {% - if c .input_param %} {{c.input_param}}{% endif -%}
157161 ): {{c.output_param}} = {{c.code}};
158162 {% endfor %}
0 commit comments