thrust / docs /doxybook /templates /synopsis_kind.tmpl
camenduru's picture
thanks to nvidia ❤
8ae5fc5
{%- if kind == "interface" %}class {{ noop() -}}
{%- else if kind == "namespace" %}namespace {{ noop() -}}
{%- else if kind == "typedef" %}typedef {{ type -}}
{%- else if kind == "enum" %}enum {% if strong %}class {% endif -%} {{ noop() -}}
{%- else if kind == "friend" %}friend {{ noop() -}}
{%- if type == "class" or type == "struct" %}{{ type }} {% endif -%}
{%- else if kind == "define" %}#define {{ noop() -}}
{%- else %}{{ kind }} {{ noop() -}}
{%- endif -%}