summaryrefslogtreecommitdiff
path: root/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_closure.page
diff options
context:
space:
mode:
Diffstat (limited to 'tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_closure.page')
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_closure.page22
1 files changed, 20 insertions, 2 deletions
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_closure.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_closure.page
index 2dd6878f..aa124158 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_closure.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_closure.page
@@ -1,12 +1,30 @@
<?xml version="1.0"?>
+
<page id="GIRepository.arg_info_get_closure"
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>gint</api:type>
+ </api:returns>
+ <api:name>g_arg_info_get_closure</api:name>
+ <api:arg>
+ <api:type>GIRepository.ArgInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.arg_info_get_closure</title>
+ <title>arg_info_get_closure</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.ArgInfo)
+@returns(gint)
+def arg_info_get_closure(info)
+</code></synopsis>
<p>Obtain the index of the user data argument. This is only valid
-for arguments which are callbacks.</p></page>
+for arguments which are callbacks.</p>
+</page>