Imported Upstream version 1.35.9
[platform/upstream/gobject-introspection.git] / tests / scanner / Regress-1.0-Python-expected / Regress.FooEnumType.returnv.page
1 <?xml version="1.0"?>
2 <page id="Regress.FooEnumType.returnv"
3       type="topic"
4       style="function"
5       xmlns="http://projectmallard.org/1.0/"
6       xmlns:api="http://projectmallard.org/experimental/api/"
7       xmlns:ui="http://projectmallard.org/1.0/ui/">
8   <info>
9     
10     <link xref="index" group="function" type="guide"/>
11     <api:function>
12       <api:returns>
13         <api:type>Regress.FooEnumType</api:type>
14       </api:returns>
15       <api:name>regress_foo_enum_type_returnv</api:name>
16       <api:arg>
17         <api:type>int</api:type>
18         <api:name>x</api:name>
19       </api:arg>
20     </api:function>
21
22   </info>
23   <title>Index.returnv</title>
24   
25 <synopsis><code mime="text/x-python">
26 @accepts(int)
27 @returns(Regress.FooEnumType)
28 def returnv(x):
29     # Python wrapper for regress_foo_enum_type_returnv()
30 </code></synopsis>
31
32   
33     
34   
35   
36   
37   
38 <terms>
39 <item>
40 <title><code>x</code></title>
41
42 </item>
43 <item>
44 <title><code>Returns</code></title>
45 {formatter.format(node, node.retval.doc)}
46 </item>
47 </terms>
48
49   
50   
51 </page>