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.BaseInfo.iterate_attributes.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.BaseInfo.iterate_attributes.page')
-rw-r--r-- | tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.iterate_attributes.page | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.iterate_attributes.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.iterate_attributes.page index 5b9bf3b5..e81635bf 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.iterate_attributes.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.iterate_attributes.page @@ -1,13 +1,38 @@ <?xml version="1.0"?> + <page id="GIRepository.BaseInfo.iterate_attributes" 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="GIRepository.BaseInfo" group="function"/> + <api:function> + <api:returns> + <api:type>gboolean</api:type> + </api:returns> + <api:name>g_base_info_iterate_attributes</api:name> + <api:arg> + <api:type>GIRepository.AttributeIter</api:type> + <api:name>iterator</api:name> + </api:arg> + <api:arg> + <api:type>utf8</api:type> + <api:name>name</api:name> + </api:arg> + <api:arg> + <api:type>utf8</api:type> + <api:name>value</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.iterate_attributes</title> + <title>iterate_attributes</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.AttributeIter, utf8, utf8) +@returns(gboolean) +def GIRepository.BaseInfo.iterate_attributes(iterator, name, value) +</code></synopsis> <p>Iterate over all attributes associated with this node. The iterator structure is typically stack allocated, and must have its first member initialized to %NULL.</p><p>Both the @name and @value should be treated as constants @@ -26,4 +51,5 @@ g_print ("attribute name: %s value: %s", name, value); } } </programlisting> -</example></p></page> +</example></p> +</page> |