{% extends "base.html" %} {% block title %}{{ namespace.name }}.{{ func.name }}{% endblock %} {% block meta_other %} {% endblock %} {% block sidebar %} {% if func.is_macro %}
Function Macros
{% else %}
Functions
{% endif %} {% endblock %} {% block content %}

Function {% if func.is_macro %}Macro{% endif %}

{{ namespace.name }}.{{ func.name }}

Declaration {% if CONFIG.source_location_url and func.source_location %} [src] {% endif %}

{{ func.c_decl }}

Description {% if CONFIG.source_location_url and func.docs_location %} [src] {% endif %}

{{ func.description }}
{% if func.stability %} {% endif %} {% if func.available_since %} {% endif %} {% if func.deprecated_since %} {% endif %}
Stability:{{ func.stability }}
Available since:{{ func.available_since }}
Deprecated since:{{ func.deprecated_since.version }}
{{ func.deprecated_since.message }}
{% if func.attributes %}
{% for (key, value) in func.attributes.items() %} {% endfor %}
{{ key|escape }}{{ value|escape }}
{% endif %}
{% if func.arguments|length != 0 %}

Parameters

{% for arg in func.arguments %} {% if not arg.is_macro %} {% endif %} {% if arg.direction != "in" %}{% endif %} {% if arg.direction == "in" and arg.is_pointer and arg.nullable %}{% endif %} {% if arg.direction == "out" and arg.optional %}{% endif %} {% if arg.is_array and arg.zero_terminated %}{% endif %} {% if arg.is_array and arg.fixed_size > 0 %}{% endif %} {% if arg.is_array and arg.len_arg %}{% endif %} {% if arg.is_pointer %}{% endif %} {% if arg.string_note %}{% endif %} {% endfor %}
{{ arg.name }} {%- if arg.link -%} {%- if arg.is_array -%}An array of {%- endif -%} {%- if arg.is_list -%}A list of {%- endif -%} {{ arg.link|safe }} {%- else -%} {{ arg.type_cname }} {%- endif -%}
  {{ arg.description }}
 Direction: {{ arg.direction }}
 Can be NULL
 Can be NULL
 The array must be NULL terminated
 The array must have {{ arg.fixed_size }} elements
 The length of the array is in the {{ arg.len_arg }} argument
 {{ arg.transfer_note }}
 {{ arg.string_note }}
{% endif %} {% if func.return_value %}

Return value

{% if func.return_value.is_array and func.return_value.zero_terminated %}{% endif %} {% if func.return_value.is_array and func.return_value.fixed_size > 0 %}{% endif %} {% if func.return_value.is_array and func.return_value.len_arg %}{% endif %} {% if func.return_value.is_pointer %}{% endif %} {% if func.return_value.is_pointer and func.return_value.nullable %}{% endif %} {% if func.return_value.string_note %}{% endif %}
Returns:  {%- if func.return_value.link -%} {%- if func.return_value.is_array -%}An array of {%- endif -%} {%- if func.return_value.is_list -%}A list of {%- endif -%} {{ func.return_value.link|safe }} {%- else -%} {{ func.return_value.type_cname }} {%- endif -%}
{{ func.return_value.description }}
 The array must be NULL terminated
 The array must have {{ func.return_value.fixed_size }} elements
 The length of the array is in the {{ func.return_value.len_arg }} argument
{{ func.return_value.transfer_note }}
Can be NULL
{{ func.return_value.string_note }}
{% endif %}
{% endblock %}