{% extends "base.html" %} {% block title %}{{ namespace.name }}.{{ class.name }}.{{ type_func.name }}{% endblock %} {% block meta_other %} {% endblock %} {% block sidebar %}
Type
Functions
{% endblock %} {% block content %}

Function

{{ namespace.name }}.{{ class.name }}.{{ type_func.name }}

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

{{ type_func.c_decl }}

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

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

Parameters

{% for arg in type_func.arguments %} {% 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 type_func.return_value %}

Return value

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