summaryrefslogtreecommitdiff
path: root/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_may_return_null.page
diff options
context:
space:
mode:
Diffstat (limited to 'tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_may_return_null.page')
-rw-r--r--tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_may_return_null.page22
1 files changed, 20 insertions, 2 deletions
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_may_return_null.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_may_return_null.page
index e0523639..c27fcbce 100644
--- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_may_return_null.page
+++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_may_return_null.page
@@ -1,11 +1,29 @@
<?xml version="1.0"?>
+
<page id="GIRepository.callable_info_may_return_null"
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>gboolean</api:type>
+ </api:returns>
+ <api:name>g_callable_info_may_return_null</api:name>
+ <api:arg>
+ <api:type>GIRepository.CallableInfo</api:type>
+ <api:name>info</api:name>
+ </api:arg>
+ </api:function>
</info>
- <title>GIRepository.callable_info_may_return_null</title>
-<p>See if a callable could return %NULL.</p></page>
+ <title>callable_info_may_return_null</title>
+<synopsis><code mime="text/x-python">
+@accepts(GIRepository.CallableInfo)
+@returns(gboolean)
+def callable_info_may_return_null(info)
+</code></synopsis>
+<p>See if a callable could return %NULL.</p>
+</page>