diff options
Diffstat (limited to 'tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_get_type.page')
-rw-r--r-- | tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_get_type.page | 33 |
1 files changed, 31 insertions, 2 deletions
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_get_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_get_type.page index 189e57c5..542313d3 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_get_type.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_get_type.page @@ -1,11 +1,40 @@ <?xml version="1.0"?> + <page id="GIRepository.constant_info_get_type" type="topic" style="function" xmlns="http://projectmallard.org/1.0/" + xmlns:api="http://projectmallard.org/experimental/api/" xmlns:ui="http://projectmallard.org/experimental/ui/"> <info> <link type="guide" xref="index" group="function"/> + <api:function> + <api:returns> + <api:type>GIRepository.TypeInfo</api:type> + </api:returns> + <api:name>g_constant_info_get_type</api:name> + <api:arg> + <api:type>GIRepository.ConstantInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.constant_info_get_type</title> -<p>Obtain the type of the constant as a <link xref="GITypeInfo">GITypeInfo</link>.</p><p>g_base_info_unref() when done.</p></page> + <title>constant_info_get_type</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ConstantInfo) +@returns(GIRepository.TypeInfo) +def constant_info_get_type(info) +</code></synopsis> +<p>Obtain the type of the constant as a <link xref="GIRepository.TypeInfo">GIRepository.TypeInfo</link>.</p><p>g_base_info_unref() when done.</p> + +<table> +<tr> +<td><p>info :</p></td> +<td><p>a <link xref="GIRepository.ConstantInfo">GIRepository.ConstantInfo</link></p></td> +</tr> +<tr> +<td><p>Returns :</p></td> +<td><p>the <link xref="GIRepository.TypeInfo">GIRepository.TypeInfo</link>. Free the struct by calling</p></td> +</tr> +</table> +</page> |