summaryrefslogtreecommitdiff
path: root/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_methods.page
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.com>2012-02-17 10:43:01 +0100
committerTomeu Vizoso <tomeu.vizoso@collabora.com>2012-02-17 10:43:32 +0100
commit60311e4870095eeb788d3b20ad1e774792ad683b (patch)
treedfbcea069fac0bea10f1418418103aeb128d5645 /tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_methods.page
parent30219d837fc7e97ff3f776e1cc9fe6e63dcff76f (diff)
downloadgobject-introspection-60311e4870095eeb788d3b20ad1e774792ad683b.tar.gz
g-ir-doc-tool: Update expected mallard for the doc tests
Diffstat (limited to 'tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_methods.page')
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_methods.page22
1 files changed, 20 insertions, 2 deletions
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_methods.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_methods.page
index 8c807982..a0c7208d 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_methods.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_methods.page
@@ -1,11 +1,29 @@
<?xml version="1.0"?>
+
<page id="GIRepository.struct_info_get_n_methods"
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_struct_info_get_n_methods</api:name>
+ <api:arg>
+ <api:type>GIRepository.StructInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.struct_info_get_n_methods</title>
-<p>Obtain the number of methods this structure has.</p></page>
+ <title>struct_info_get_n_methods</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.StructInfo)
+@returns(gint)
+def struct_info_get_n_methods(info)
+</code></synopsis>
+<p>Obtain the number of methods this structure has.</p>
+</page>