summaryrefslogtreecommitdiff
path: root/generator/templates/description.jinja2
blob: fb493227043a5867e53095e0844322fe925cf424 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{#- Content of this file include into every item (Enum/Struct/Function) between imports and typedef/@interface declaration -#}
{% if description or since or history %}
/**
 {%- if description %}
 {%- for d in description %}
 * {{d}}
 {%- endfor %}{% endif -%}
 {%- if description and ( since or history ) %}
 *
 {%- endif %}
 {%- if deprecated %}
 * @deprecated
 {%- endif %}
 {%- if history %}
 * @history SDL {{ history }}
 {%- endif %}
 {%- if since %}
 * @since SDL {{ since }}
 {%- endif %}
 */
{%- endif -%}
{%- if deprecated %}
__deprecated
{%- endif -%}