diff options
author | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2012-02-17 10:43:01 +0100 |
---|---|---|
committer | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2012-02-17 10:43:32 +0100 |
commit | 60311e4870095eeb788d3b20ad1e774792ad683b (patch) | |
tree | dfbcea069fac0bea10f1418418103aeb128d5645 /tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator.page | |
parent | 30219d837fc7e97ff3f776e1cc9fe6e63dcff76f (diff) | |
download | gobject-introspection-60311e4870095eeb788d3b20ad1e774792ad683b.tar.gz |
g-ir-doc-tool: Update expected mallard for the doc tests
Diffstat (limited to 'tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator.page')
-rw-r--r-- | tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator.page | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator.page index c52fe728..fb67d51a 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator.page @@ -1,13 +1,35 @@ <?xml version="1.0"?> + <page id="GIRepository.union_info_get_discriminator" 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.ConstantInfo</api:type> + </api:returns> + <api:name>g_union_info_get_discriminator</api:name> + <api:arg> + <api:type>GIRepository.UnionInfo</api:type> + <api:name>info</api:name> + </api:arg> + <api:arg> + <api:type>gint</api:type> + <api:name>n</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.union_info_get_discriminator</title> + <title>union_info_get_discriminator</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.UnionInfo, gint) +@returns(GIRepository.ConstantInfo) +def union_info_get_discriminator(info, n) +</code></synopsis> <p>Obtain discriminator value assigned for n-th union field, i.e. n-th union field is the active one if discriminator contains this -constant.</p><p>when done.</p></page> +constant.</p><p>when done.</p> +</page> |