diff options
Diffstat (limited to 'tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_is_zero_terminated.page')
-rw-r--r-- | tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_is_zero_terminated.page | 35 |
1 files changed, 32 insertions, 3 deletions
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_is_zero_terminated.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_is_zero_terminated.page index ad8e22bf..1c78bdd0 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_is_zero_terminated.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_is_zero_terminated.page @@ -1,12 +1,41 @@ <?xml version="1.0"?> + <page id="GIRepository.type_info_is_zero_terminated" 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_type_info_is_zero_terminated</api:name> + <api:arg> + <api:type>GIRepository.TypeInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.type_info_is_zero_terminated</title> -<p>Obtain if the last element of the array is %NULL. The type tag must be a -<link xref="GI_TYPE_TAG_ARRAY">GI_TYPE_TAG_ARRAY</link> or %FALSE will returned.</p></page> + <title>type_info_is_zero_terminated</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.TypeInfo) +@returns(gboolean) +def type_info_is_zero_terminated(info) +</code></synopsis> +<p>Obtain if the last element of the array is None. The type tag must be a +<link xref="GI_TYPE_TAG_ARRAY">GI_TYPE_TAG_ARRAY</link> or False will returned.</p> + +<table> +<tr> +<td><p>info :</p></td> +<td><p>a <link xref="GIRepository.TypeInfo">GIRepository.TypeInfo</link></p></td> +</tr> +<tr> +<td><p>Returns :</p></td> +<td><p>True if zero terminated</p></td> +</tr> +</table> +</page> |