summaryrefslogtreecommitdiff
path: root/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_constants.page
diff options
context:
space:
mode:
Diffstat (limited to 'tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_constants.page')
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_constants.page22
1 files changed, 20 insertions, 2 deletions
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_constants.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_constants.page
index 2e20aafc..f3c53172 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_constants.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_constants.page
@@ -1,11 +1,29 @@
<?xml version="1.0"?>
+
<page id="GIRepository.interface_info_get_n_constants"
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_interface_info_get_n_constants</api:name>
+ <api:arg>
+ <api:type>GIRepository.InterfaceInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.interface_info_get_n_constants</title>
-<p>Obtain the number of constants that this interface type has.</p></page>
+ <title>interface_info_get_n_constants</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.InterfaceInfo)
+@returns(gint)
+def interface_info_get_n_constants(info)
+</code></synopsis>
+<p>Obtain the number of constants that this interface type has.</p>
+</page>