thrust / docs /doxybook /templates /synopsis_function_parameters.tmpl
camenduru's picture
thanks to nvidia ❤
8ae5fc5
{%- for param in params -%}
{%- if not loop.is_first -%}  {%- endif -%}
{{- param.type -}}
{%- if not isEmpty(param.name) %} {% endif -%}
{{- param.name -}}
{%- if existsIn(param, "defvalPlain") %} = {{ escape(param.defvalPlain) }}{% endif -%}
{%- if not loop.is_last -%}
,</span>
{{- noop() }}<span>{% include "synopsis_indent.tmpl" -%}
{%- endif -%}
{%- endfor -%}