diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2012-02-20 18:18:04 +0100 |
---|---|---|
committer | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2012-02-20 18:18:04 +0100 |
commit | ad5c6abcbcd6c1cd26b9a714995c622f5dbe3b07 (patch) | |
tree | c040697e6ad1bb8269351968c3612927d9daea80 /tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_methods.page | |
parent | 4fbb34bb0ea4a1d142052e62a29480c704550f8b (diff) | |
parent | 990b33b9fb5856b62550725bcff29f7e39a488a4 (diff) | |
download | gobject-introspection-ad5c6abcbcd6c1cd26b9a714995c622f5dbe3b07.tar.gz |
Merge branch 'mallard-templates'
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.page | 33 |
1 files changed, 31 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..83eb6c17 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,40 @@ <?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> + +<table> +<tr> +<td><p>info :</p></td> +<td><p>a <link xref="GIRepository.StructInfo">GIRepository.StructInfo</link></p></td> +</tr> +<tr> +<td><p>Returns :</p></td> +<td><p>number of methods</p></td> +</tr> +</table> +</page> |