summaryrefslogtreecommitdiff
path: root/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_type.page
diff options
context:
space:
mode:
Diffstat (limited to 'tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_type.page')
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_type.page22
1 files changed, 20 insertions, 2 deletions
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_type.page
index 653aafa7..06ec01a7 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_type.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_type.page
@@ -1,11 +1,29 @@
<?xml version="1.0"?>
+
<page id="GIRepository.callable_info_get_return_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_callable_info_get_return_type</api:name>
+ <api:arg>
+ <api:type>GIRepository.CallableInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.callable_info_get_return_type</title>
-<p>Obtain the return type of a callable item as a <link xref="GITypeInfo">GITypeInfo</link>.</p><p>g_base_info_unref() when done.</p></page>
+ <title>callable_info_get_return_type</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.CallableInfo)
+@returns(GIRepository.TypeInfo)
+def callable_info_get_return_type(info)
+</code></synopsis>
+<p>Obtain the return type of a callable item as a <link xref="GITypeInfo">GITypeInfo</link>.</p><p>g_base_info_unref() when done.</p>
+</page>