diff options
Diffstat (limited to 'tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_alignment.page')
-rw-r--r-- | tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_alignment.page | 33 |
1 files changed, 31 insertions, 2 deletions
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_alignment.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_alignment.page index fe2d2f97..537bbfa1 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_alignment.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_alignment.page @@ -1,11 +1,40 @@ <?xml version="1.0"?> + <page id="GIRepository.struct_info_get_alignment" 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>gsize</api:type> + </api:returns> + <api:name>g_struct_info_get_alignment</api:name> + <api:arg> + <api:type>GIRepository.StructInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.struct_info_get_alignment</title> -<p>Obtain the required alignment of the structure.</p></page> + <title>struct_info_get_alignment</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.StructInfo) +@returns(gsize) +def struct_info_get_alignment(info) +</code></synopsis> +<p>Obtain the required alignment of the structure.</p> + +<table> +<tr> +<td><p>info :</p></td> +<td><p>a <link xref="GIRepository.StructInfo">GIRepository.StructInfo</link></p></td> +</tr> +<tr> +<td><p>Returns :</p></td> +<td><p>required alignment in bytes</p></td> +</tr> +</table> +</page> |