summaryrefslogtreecommitdiff
path: root/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_find_method.page
diff options
context:
space:
mode:
Diffstat (limited to 'tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_find_method.page')
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_find_method.page26
1 files changed, 24 insertions, 2 deletions
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_find_method.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_find_method.page
index 4f811344..7c14ac2b 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_find_method.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_find_method.page
@@ -1,12 +1,34 @@
<?xml version="1.0"?>
+
<page id="GIRepository.interface_info_find_method"
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.FunctionInfo</api:type>
+ </api:returns>
+ <api:name>g_interface_info_find_method</api:name>
+ <api:arg>
+ <api:type>GIRepository.InterfaceInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ <api:arg>
+ <api:type>utf8</api:type>
+ <api:name>name</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.interface_info_find_method</title>
+ <title>interface_info_find_method</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.InterfaceInfo, utf8)
+@returns(GIRepository.FunctionInfo)
+def interface_info_find_method(info, name)
+</code></synopsis>
<p>Obtain a method of the interface type given a @name. %NULL will be
-returned if there's no method available with that name.</p><p>Free the struct by calling g_base_info_unref() when done.</p></page>
+returned if there's no method available with that name.</p><p>Free the struct by calling g_base_info_unref() when done.</p>
+</page>