summaryrefslogtreecommitdiff
path: root/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_vfunc.page
diff options
context:
space:
mode:
Diffstat (limited to 'tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_vfunc.page')
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_vfunc.page22
1 files changed, 20 insertions, 2 deletions
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_vfunc.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_vfunc.page
index 2380c62c..ee5761d1 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_vfunc.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_vfunc.page
@@ -1,13 +1,31 @@
<?xml version="1.0"?>
+
<page id="GIRepository.function_info_get_vfunc"
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.VFuncInfo</api:type>
+ </api:returns>
+ <api:name>g_function_info_get_vfunc</api:name>
+ <api:arg>
+ <api:type>GIRepository.FunctionInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.function_info_get_vfunc</title>
+ <title>function_info_get_vfunc</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.FunctionInfo)
+@returns(GIRepository.VFuncInfo)
+def function_info_get_vfunc(info)
+</code></synopsis>
<p>Obtain the virtual function associated with this <link xref="GIFunctionInfo">GIFunctionInfo</link>.
Only <link xref="GIFunctionInfo">GIFunctionInfo</link> with the flag %GI_FUNCTION_WRAPS_VFUNC has
-a virtual function set. For other cases, %NULL will be returned.</p><p>Free it by calling g_base_info_unref() when done.</p></page>
+a virtual function set. For other cases, %NULL will be returned.</p><p>Free it by calling g_base_info_unref() when done.</p>
+</page>