diff options
Diffstat (limited to 'tests/doctool/GIRepository-2.0-Python-expected')
215 files changed, 3890 insertions, 448 deletions
diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ArgInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ArgInfo.page index c804fe08..8cddb854 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ArgInfo.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ArgInfo.page @@ -7,4 +7,5 @@ <info> </info> <title>GIRepository.ArgInfo</title> -<p>Represents an argument.</p></page> +<p>Represents an argument.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ArrayType.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ArrayType.page index 31a1f19e..7d348d40 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ArrayType.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ArrayType.page @@ -7,4 +7,5 @@ <info> </info> <title>GIRepository.ArrayType</title> -<p>The type of array in a <link xref="GITypeInfo">GITypeInfo</link>.</p></page> +<p>The type of array in a <link xref="GITypeInfo">GITypeInfo</link>.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.AttributeIter.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.AttributeIter.page index 39cc3306..6ee6932c 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.AttributeIter.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.AttributeIter.page @@ -7,6 +7,7 @@ <info> <link type="guide" xref="index"/> </info> - <title>GIRepository.AttributeIter</title> -<p>An opaque structure used to iterate over attributes -in a <link xref="GIBaseInfo">GIBaseInfo</link> struct.</p></page> + <title>GIRepositoryAttributeIter</title> + <p>An opaque structure used to iterate over attributes +in a #GIBaseInfo struct.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.equal.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.equal.page index d650f813..8f8cef13 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.equal.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.equal.page @@ -1,13 +1,31 @@ <?xml version="1.0"?> + <page id="GIRepository.BaseInfo.equal" 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_equal</api:name> + <api:arg> + <api:type>GIRepository.BaseInfo</api:type> + <api:name>info2</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.equal</title> + <title>equal</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.BaseInfo) +@returns(gboolean) +def GIRepository.BaseInfo.equal(info2) +</code></synopsis> <p>Compare two <link xref="GIBaseInfo">GIBaseInfo</link>.</p><p>Using pointer comparison is not practical since many functions return different instances of <link xref="GIBaseInfo">GIBaseInfo</link> that refers to the same part of the -TypeLib; use this function instead to do <link xref="GIBaseInfo">GIBaseInfo</link> comparisons.</p></page> +TypeLib; use this function instead to do <link xref="GIBaseInfo">GIBaseInfo</link> comparisons.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_attribute.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_attribute.page index 4979c514..71f81579 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_attribute.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_attribute.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.BaseInfo.get_attribute" 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>utf8</api:type> + </api:returns> + <api:name>g_base_info_get_attribute</api:name> + <api:arg> + <api:type>utf8</api:type> + <api:name>name</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.get_attribute</title> -<p>Retrieve an arbitrary attribute associated with this node.</p></page> + <title>get_attribute</title> +<synopsis><code mime="text/x-python"> +@accepts(utf8) +@returns(utf8) +def GIRepository.BaseInfo.get_attribute(name) +</code></synopsis> +<p>Retrieve an arbitrary attribute associated with this node.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_container.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_container.page index 1fb285f7..6093b1c7 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_container.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_container.page @@ -1,13 +1,26 @@ <?xml version="1.0"?> + <page id="GIRepository.BaseInfo.get_container" 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>GIRepository.BaseInfo</api:type> + </api:returns> + <api:name>g_base_info_get_container</api:name> + </api:function> </info> - <title>GIRepository.get_container</title> + <title>get_container</title> +<synopsis><code mime="text/x-python"> +@returns(GIRepository.BaseInfo) +def GIRepository.BaseInfo.get_container() +</code></synopsis> <p>Obtain the container of the @info. The container is the parent GIBaseInfo. For instance, the parent of a <link xref="GIFunctionInfo">GIFunctionInfo</link> is an -<link xref="GIObjectInfo">GIObjectInfo</link> or <link xref="GIInterfaceInfo">GIInterfaceInfo</link>.</p></page> +<link xref="GIObjectInfo">GIObjectInfo</link> or <link xref="GIInterfaceInfo">GIInterfaceInfo</link>.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_name.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_name.page index 7ac3a14f..8ae51e74 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_name.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_name.page @@ -1,13 +1,26 @@ <?xml version="1.0"?> + <page id="GIRepository.BaseInfo.get_name" 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>utf8</api:type> + </api:returns> + <api:name>g_base_info_get_name</api:name> + </api:function> </info> - <title>GIRepository.get_name</title> + <title>get_name</title> +<synopsis><code mime="text/x-python"> +@returns(utf8) +def GIRepository.BaseInfo.get_name() +</code></synopsis> <p>Obtain the name of the @info. What the name represents depends on the <link xref="GIInfoType">GIInfoType</link> of the @info. For instance for <link xref="GIFunctionInfo">GIFunctionInfo</link> it is -the name of the function.</p></page> +the name of the function.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_namespace.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_namespace.page index b66409c1..19ca429f 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_namespace.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_namespace.page @@ -1,11 +1,24 @@ <?xml version="1.0"?> + <page id="GIRepository.BaseInfo.get_namespace" 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>utf8</api:type> + </api:returns> + <api:name>g_base_info_get_namespace</api:name> + </api:function> </info> - <title>GIRepository.get_namespace</title> -<p>Obtain the namespace of @info.</p></page> + <title>get_namespace</title> +<synopsis><code mime="text/x-python"> +@returns(utf8) +def GIRepository.BaseInfo.get_namespace() +</code></synopsis> +<p>Obtain the namespace of @info.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_typelib.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_typelib.page index b856a222..a60cbf9b 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_typelib.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.get_typelib.page @@ -1,11 +1,24 @@ <?xml version="1.0"?> + <page id="GIRepository.BaseInfo.get_typelib" 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>GIRepository.Typelib</api:type> + </api:returns> + <api:name>g_base_info_get_typelib</api:name> + </api:function> </info> - <title>GIRepository.get_typelib</title> -<p>Obtain the typelib this @info belongs to</p></page> + <title>get_typelib</title> +<synopsis><code mime="text/x-python"> +@returns(GIRepository.Typelib) +def GIRepository.BaseInfo.get_typelib() +</code></synopsis> +<p>Obtain the typelib this @info belongs to</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.is_deprecated.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.is_deprecated.page index f7c24a3b..781539db 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.is_deprecated.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.is_deprecated.page @@ -1,12 +1,25 @@ <?xml version="1.0"?> + <page id="GIRepository.BaseInfo.is_deprecated" 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_is_deprecated</api:name> + </api:function> </info> - <title>GIRepository.is_deprecated</title> + <title>is_deprecated</title> +<synopsis><code mime="text/x-python"> +@returns(gboolean) +def GIRepository.BaseInfo.is_deprecated() +</code></synopsis> <p>Obtain whether the @info is represents a metadata which is -deprecated or not.</p></page> +deprecated or not.</p> +</page> 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> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.page index 8bb5fcdc..055334f0 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.page @@ -7,37 +7,42 @@ <info> <link type="guide" xref="index"/> </info> - <title>GIRepository.BaseInfo</title> -<p>GIBaseInfo is the common base struct of all other *Info structs -accessible through the <link xref="GIRepository">GIRepository</link> API. -All other structs can be casted to a <link xref="GIBaseInfo">GIBaseInfo</link>, for instance: -<example> -<title>Casting a <link xref="GIFunctionInfo">GIFunctionInfo</link> to <link xref="GIBaseInfo">GIBaseInfo</link></title> -<programlisting> + <title>GIRepositoryBaseInfo</title> + <p>GIBaseInfo is the common base struct of all other *Info structs +accessible through the #GIRepository API. +All other structs can be casted to a #GIBaseInfo, for instance: +<example> +<title>Casting a #GIFunctionInfo to #GIBaseInfo</title> +<programlisting> GIFunctionInfo *function_info = ...; GIBaseInfo *info = (GIBaseInfo*)function_info; -</programlisting> -</example> -Most <link xref="GIRepository">GIRepository</link> APIs returning a <link xref="GIBaseInfo">GIBaseInfo</link> is actually creating a new struct, in other +</programlisting> +</example> +Most #GIRepository APIs returning a #GIBaseInfo is actually creating a new struct, in other words, g_base_info_unref() has to be called when done accessing the data. GIBaseInfos are normally accessed by calling either -g_irepository_find_by_name(), g_irepository_find_by_gtype() or g_irepository_get_info().</p><p><example> -<title>Getting the Button of the Gtk typelib</title> -<programlisting> +g_irepository_find_by_name(), g_irepository_find_by_gtype() or g_irepository_get_info(). + +<example> +<title>Getting the Button of the Gtk typelib</title> +<programlisting> GIBaseInfo *button_info = g_irepository_find_by_name(NULL, "Gtk", "Button"); ... use button_info ... g_base_info_unref(button_info); -</programlisting> -</example></p><p><refsect1 id="gi-gibaseinfo.struct-hierarchy" role="struct_hierarchy"> -<title role="struct_hierarchy.title">Struct hierarchy</title> -<synopsis> +</programlisting> +</example> + +<refsect1 id="gi-gibaseinfo.struct-hierarchy" role="struct_hierarchy"> +<title role="struct_hierarchy.title">Struct hierarchy</title> +<synopsis> GIBaseInfo -+----<link linkend="gi-GIArgInfo">GIArgInfo</link> -+----<link linkend="gi-GICallableInfo">GICallableInfo</link> -+----<link linkend="gi-GIConstantInfo">GIConstantInfo</link> -+----<link linkend="gi-GIFieldInfo">GIFieldInfo</link> -+----<link linkend="gi-GIPropertyInfo">GIPropertyInfo</link> -+----<link linkend="gi-GIRegisteredTypeInfo">GIRegisteredTypeInfo</link> -+----<link linkend="gi-GITypeInfo">GITypeInfo</link> -</synopsis> -</refsect1></p></page> ++----<link linkend="gi-GIArgInfo">GIArgInfo</link> ++----<link linkend="gi-GICallableInfo">GICallableInfo</link> ++----<link linkend="gi-GIConstantInfo">GIConstantInfo</link> ++----<link linkend="gi-GIFieldInfo">GIFieldInfo</link> ++----<link linkend="gi-GIPropertyInfo">GIPropertyInfo</link> ++----<link linkend="gi-GIRegisteredTypeInfo">GIRegisteredTypeInfo</link> ++----<link linkend="gi-GITypeInfo">GITypeInfo</link> +</synopsis> +</refsect1></p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.ref.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.ref.page index 0b81c1d7..c0395bd4 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.ref.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.ref.page @@ -1,11 +1,24 @@ <?xml version="1.0"?> + <page id="GIRepository.BaseInfo.ref" 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>GIRepository.BaseInfo</api:type> + </api:returns> + <api:name>g_base_info_ref</api:name> + </api:function> </info> - <title>GIRepository.ref</title> -<p>Increases the reference count of @info.</p></page> + <title>ref</title> +<synopsis><code mime="text/x-python"> +@returns(GIRepository.BaseInfo) +def GIRepository.BaseInfo.ref() +</code></synopsis> +<p>Increases the reference count of @info.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.unref.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.unref.page index 5abc2ada..000376f4 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.unref.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.BaseInfo.unref.page @@ -1,12 +1,25 @@ <?xml version="1.0"?> + <page id="GIRepository.BaseInfo.unref" 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>none</api:type> + </api:returns> + <api:name>g_base_info_unref</api:name> + </api:function> </info> - <title>GIRepository.unref</title> + <title>unref</title> +<synopsis><code mime="text/x-python"> +@returns(none) +def GIRepository.BaseInfo.unref() +</code></synopsis> <p>Decreases the reference count of @info. When its reference count -drops to 0, the info is freed.</p></page> +drops to 0, the info is freed.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.CallableInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.CallableInfo.page index 739ee20b..79c00eb7 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.CallableInfo.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.CallableInfo.page @@ -8,4 +8,5 @@ </info> <title>GIRepository.CallableInfo</title> <p>Represents a callable, either <link xref="GIFunctionInfo">GIFunctionInfo</link>, <link xref="GICallbackInfo">GICallbackInfo</link> or -<link xref="GIVFuncInfo">GIVFuncInfo</link>.</p></page> +<link xref="GIVFuncInfo">GIVFuncInfo</link>.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.CallbackInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.CallbackInfo.page index 82055937..e5a71709 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.CallbackInfo.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.CallbackInfo.page @@ -7,4 +7,5 @@ <info> </info> <title>GIRepository.CallbackInfo</title> -<p>Represents a callback, eg arguments and return value.</p></page> +<p>Represents a callback, eg arguments and return value.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ConstantInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ConstantInfo.page index 1780406e..4ed05edb 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ConstantInfo.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ConstantInfo.page @@ -7,4 +7,5 @@ <info> </info> <title>GIRepository.ConstantInfo</title> -<p>Represents a constant.</p></page> +<p>Represents a constant.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Direction.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Direction.page index 1b68ba89..fc0949a5 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Direction.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Direction.page @@ -7,4 +7,5 @@ <info> </info> <title>GIRepository.Direction</title> -<p>The direction of a <link xref="GIArgInfo">GIArgInfo</link>.</p></page> +<p>The direction of a <link xref="GIArgInfo">GIArgInfo</link>.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.EnumInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.EnumInfo.page index 76c71545..eebac1b0 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.EnumInfo.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.EnumInfo.page @@ -7,4 +7,5 @@ <info> </info> <title>GIRepository.EnumInfo</title> -<p>Represents an enum or a flag.</p></page> +<p>Represents an enum or a flag.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FieldInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FieldInfo.page index 9aae6805..d2cf5c86 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FieldInfo.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FieldInfo.page @@ -7,4 +7,5 @@ <info> </info> <title>GIRepository.FieldInfo</title> -<p>Represents a field of a <link xref="GIStructInfo">GIStructInfo</link> or a <link xref="GIUnionInfo">GIUnionInfo</link>.</p></page> +<p>Represents a field of a <link xref="GIStructInfo">GIStructInfo</link> or a <link xref="GIUnionInfo">GIUnionInfo</link>.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FieldInfoFlags.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FieldInfoFlags.page index d1e85b07..22c26a7a 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FieldInfoFlags.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FieldInfoFlags.page @@ -7,4 +7,5 @@ <info> </info> <title>GIRepository.FieldInfoFlags</title> -<p>Flags for a <link xref="GIFieldInfo">GIFieldInfo</link>.</p></page> +<p>Flags for a <link xref="GIFieldInfo">GIFieldInfo</link>.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FunctionInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FunctionInfo.page index d20c7b2b..d0b0f457 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FunctionInfo.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FunctionInfo.page @@ -7,4 +7,5 @@ <info> </info> <title>GIRepository.FunctionInfo</title> -<p>Represents a function, eg arguments and return value.</p></page> +<p>Represents a function, eg arguments and return value.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FunctionInfoFlags.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FunctionInfoFlags.page index f86678cb..03c4d5af 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FunctionInfoFlags.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.FunctionInfoFlags.page @@ -7,4 +7,5 @@ <info> </info> <title>GIRepository.FunctionInfoFlags</title> -<p>Flags for a <link xref="GIFunctionInfo">GIFunctionInfo</link> struct.</p></page> +<p>Flags for a <link xref="GIFunctionInfo">GIFunctionInfo</link> struct.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.InfoType.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.InfoType.page index 04e4bbba..f9964f29 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.InfoType.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.InfoType.page @@ -7,4 +7,5 @@ <info> </info> <title>GIRepository.InfoType</title> -<p>The type of a GIBaseInfo struct.</p></page> +<p>The type of a GIBaseInfo struct.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.InterfaceInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.InterfaceInfo.page index 76883352..27ebf8f8 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.InterfaceInfo.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.InterfaceInfo.page @@ -7,4 +7,5 @@ <info> </info> <title>GIRepository.InterfaceInfo</title> -<p>Represents an interface.</p></page> +<p>Represents an interface.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfo.page index 3cd4aed4..fd74384c 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfo.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfo.page @@ -7,4 +7,5 @@ <info> </info> <title>GIRepository.ObjectInfo</title> -<p>Represents an object.</p></page> +<p>Represents an object.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoGetValueFunction.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoGetValueFunction.page index 10524550..a8a86392 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoGetValueFunction.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoGetValueFunction.page @@ -7,4 +7,5 @@ <info> </info> <title>GIRepository.ObjectInfoGetValueFunction</title> -<p>Extract an object instance out of @value</p></page> +<p>Extract an object instance out of @value</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoRefFunction.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoRefFunction.page index 5af40462..12b8b52a 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoRefFunction.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoRefFunction.page @@ -7,4 +7,5 @@ <info> </info> <title>GIRepository.ObjectInfoRefFunction</title> -<p>Increases the reference count of an object instance.</p></page> +<p>Increases the reference count of an object instance.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoSetValueFunction.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoSetValueFunction.page index 2940635d..3d5c677d 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoSetValueFunction.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoSetValueFunction.page @@ -7,4 +7,5 @@ <info> </info> <title>GIRepository.ObjectInfoSetValueFunction</title> -<p>Update @value and attach the object instance pointer @object to it.</p></page> +<p>Update @value and attach the object instance pointer @object to it.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoUnrefFunction.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoUnrefFunction.page index 64f7d992..11120095 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoUnrefFunction.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ObjectInfoUnrefFunction.page @@ -7,4 +7,5 @@ <info> </info> <title>GIRepository.ObjectInfoUnrefFunction</title> -<p>Decreases the reference count of an object instance.</p></page> +<p>Decreases the reference count of an object instance.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.PropertyInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.PropertyInfo.page index 5b92351e..2325b69f 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.PropertyInfo.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.PropertyInfo.page @@ -7,4 +7,5 @@ <info> </info> <title>GIRepository.PropertyInfo</title> -<p>Represents a property of a <link xref="GIObjectInfo">GIObjectInfo</link> or a <link xref="GIInterfaceInfo">GIInterfaceInfo</link>.</p></page> +<p>Represents a property of a <link xref="GIObjectInfo">GIObjectInfo</link> or a <link xref="GIInterfaceInfo">GIInterfaceInfo</link>.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RegisteredTypeInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RegisteredTypeInfo.page index debbc0b4..d98e976c 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RegisteredTypeInfo.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RegisteredTypeInfo.page @@ -7,4 +7,5 @@ <info> </info> <title>GIRepository.RegisteredTypeInfo</title> -<p>Represent a registered type.</p></page> +<p>Represent a registered type.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.dump.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.dump.page new file mode 100644 index 00000000..f2c7b46a --- /dev/null +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.dump.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> + +<page id="GIRepository.Repository.dump" + 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.Repository" group="function"/> + <api:function> + <api:returns> + <api:type>gboolean</api:type> + </api:returns> + <api:name>g_irepository_dump</api:name> + <api:arg> + <api:type>utf8</api:type> + <api:name>arg</api:name> + </api:arg> + </api:function> + </info> + <title>dump</title> +<synopsis><code mime="text/x-python"> +@accepts(utf8) +@returns(gboolean) +def GIRepository.Repository.dump(arg) +</code></synopsis> + +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.enumerate_versions.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.enumerate_versions.page index 0b4f84d0..37188c96 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.enumerate_versions.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.enumerate_versions.page @@ -1,12 +1,34 @@ <?xml version="1.0"?> + <page id="GIRepository.Repository.enumerate_versions" type="topic" style="method" 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.Repository" group="method"/> + <api:function> + <api:returns> + <api:type><list></api:type> + </api:returns> + <api:name>g_irepository_enumerate_versions</api:name> + <api:arg> + <api:type>GIRepository *</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>utf8</api:type> + <api:name>namespace_</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.Repository.enumerate_versions</title> + <title>enumerate_versions</title> +<synopsis><code mime="text/x-python"> +@accepts(utf8) +@returns(<list>) +def GIRepository.Repository.enumerate_versions(namespace_) +</code></synopsis> <p>Obtain an unordered list of versions (either currently loaded or -available) for @namespace_ in this @repository.</p></page> +available) for @namespace_ in this @repository.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.error_quark.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.error_quark.page new file mode 100644 index 00000000..0cae47b6 --- /dev/null +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.error_quark.page @@ -0,0 +1,24 @@ +<?xml version="1.0"?> + +<page id="GIRepository.Repository.error_quark" + 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.Repository" group="function"/> + <api:function> + <api:returns> + <api:type>GLib.Quark</api:type> + </api:returns> + <api:name>g_irepository_error_quark</api:name> + </api:function> + </info> + <title>error_quark</title> +<synopsis><code mime="text/x-python"> +@returns(GLib.Quark) +def GIRepository.Repository.error_quark() +</code></synopsis> + +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_error_domain.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_error_domain.page index 989a713e..657a8ac6 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_error_domain.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_error_domain.page @@ -1,14 +1,36 @@ <?xml version="1.0"?> + <page id="GIRepository.Repository.find_by_error_domain" type="topic" style="method" 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.Repository" group="method"/> + <api:function> + <api:returns> + <api:type>GIRepository.EnumInfo</api:type> + </api:returns> + <api:name>g_irepository_find_by_error_domain</api:name> + <api:arg> + <api:type>GIRepository *</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>GLib.Quark</api:type> + <api:name>domain</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.Repository.find_by_error_domain</title> + <title>find_by_error_domain</title> +<synopsis><code mime="text/x-python"> +@accepts(GLib.Quark) +@returns(GIRepository.EnumInfo) +def GIRepository.Repository.find_by_error_domain(domain) +</code></synopsis> <p>Searches for the enum type corresponding to the given <link xref="GError">GError</link> domain. Before calling this function for a particular namespace, you must call g_irepository_require() once to load the namespace, or -otherwise ensure the namespace has already been loaded.</p><p>enum type, or %NULL</p></page> +otherwise ensure the namespace has already been loaded.</p><p>enum type, or %NULL</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_gtype.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_gtype.page index 0ced00de..fee97a4e 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_gtype.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_gtype.page @@ -1,16 +1,38 @@ <?xml version="1.0"?> + <page id="GIRepository.Repository.find_by_gtype" type="topic" style="method" 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.Repository" group="method"/> + <api:function> + <api:returns> + <api:type>GIRepository.BaseInfo</api:type> + </api:returns> + <api:name>g_irepository_find_by_gtype</api:name> + <api:arg> + <api:type>GIRepository *</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>GType</api:type> + <api:name>gtype</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.Repository.find_by_gtype</title> + <title>find_by_gtype</title> +<synopsis><code mime="text/x-python"> +@accepts(GType) +@returns(GIRepository.BaseInfo) +def GIRepository.Repository.find_by_gtype(gtype) +</code></synopsis> <p>Searches all loaded namespaces for a particular <link xref="GType">GType</link>. Note that in order to locate the metadata, the namespace corresponding to the type must first have been loaded. There is currently no mechanism for determining the namespace which corresponds to an arbitrary GType - thus, this function will operate most reliably -when you know the GType to originate from be from a loaded namespace.</p></page> +when you know the GType to originate from be from a loaded namespace.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_name.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_name.page index 6f61fd83..6429fc0e 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_name.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.find_by_name.page @@ -1,14 +1,40 @@ <?xml version="1.0"?> + <page id="GIRepository.Repository.find_by_name" type="topic" style="method" 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.Repository" group="method"/> + <api:function> + <api:returns> + <api:type>GIRepository.BaseInfo</api:type> + </api:returns> + <api:name>g_irepository_find_by_name</api:name> + <api:arg> + <api:type>GIRepository *</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>utf8</api:type> + <api:name>namespace_</api:name> + </api:arg> + <api:arg> + <api:type>utf8</api:type> + <api:name>name</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.Repository.find_by_name</title> + <title>find_by_name</title> +<synopsis><code mime="text/x-python"> +@accepts(utf8, utf8) +@returns(GIRepository.BaseInfo) +def GIRepository.Repository.find_by_name(namespace_, name) +</code></synopsis> <p>Searches for a particular entry in a namespace. Before calling this function for a particular namespace, you must call g_irepository_require() once to load the namespace, or otherwise -ensure the namespace has already been loaded.</p></page> +ensure the namespace has already been loaded.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_c_prefix.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_c_prefix.page index 1bf517c7..3a7dfeda 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_c_prefix.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_c_prefix.page @@ -1,14 +1,36 @@ <?xml version="1.0"?> + <page id="GIRepository.Repository.get_c_prefix" type="topic" style="method" 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.Repository" group="method"/> + <api:function> + <api:returns> + <api:type>utf8</api:type> + </api:returns> + <api:name>g_irepository_get_c_prefix</api:name> + <api:arg> + <api:type>GIRepository *</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>utf8</api:type> + <api:name>namespace_</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.Repository.get_c_prefix</title> + <title>get_c_prefix</title> +<synopsis><code mime="text/x-python"> +@accepts(utf8) +@returns(utf8) +def GIRepository.Repository.get_c_prefix(namespace_) +</code></synopsis> <p>This function returns the "C prefix", or the C level namespace associated with the given introspection namespace. Each C symbol starts with this prefix, as well each <link xref="GType">GType</link> in the library.</p><p>Note: The namespace must have already been loaded using a function -such as g_irepository_require() before calling this function.</p></page> +such as g_irepository_require() before calling this function.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_default.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_default.page new file mode 100644 index 00000000..f13d690f --- /dev/null +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_default.page @@ -0,0 +1,32 @@ +<?xml version="1.0"?> + +<page id="GIRepository.Repository.get_default" + 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.Repository" group="function"/> + <api:function> + <api:returns> + <api:type>GIRepository.Repository</api:type> + </api:returns> + <api:name>g_irepository_get_default</api:name> + </api:function> + </info> + <title>get_default</title> +<synopsis><code mime="text/x-python"> +@returns(GIRepository.Repository) +def GIRepository.Repository.get_default() +</code></synopsis> +<p>Returns the singleton process-global default <link xref="GIRepository">GIRepository</link>. It is +not currently supported to have multiple repositories in a +particular process, but this function is provided in the unlikely +eventuality that it would become possible, and as a convenience for +higher level language bindings to conform to the GObject method +call conventions. +All methods on <link xref="GIRepository">GIRepository</link> also accept %NULL as an instance +parameter to mean this default repository, which is usually more +convenient for C.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_dependencies.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_dependencies.page index 3dcb1f8c..57d8b5b9 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_dependencies.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_dependencies.page @@ -1,14 +1,36 @@ <?xml version="1.0"?> + <page id="GIRepository.Repository.get_dependencies" type="topic" style="method" 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.Repository" group="method"/> + <api:function> + <api:returns> + <api:type>[utf8]</api:type> + </api:returns> + <api:name>g_irepository_get_dependencies</api:name> + <api:arg> + <api:type>GIRepository *</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>utf8</api:type> + <api:name>namespace_</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.Repository.get_dependencies</title> + <title>get_dependencies</title> +<synopsis><code mime="text/x-python"> +@accepts(utf8) +@returns([utf8]) +def GIRepository.Repository.get_dependencies(namespace_) +</code></synopsis> <p>Return an array of all (transitive) dependencies for namespace @namespace_, including version. The returned strings are of the form <code>namespace-version</code>.</p><p>Note: The namespace must have already been loaded using a function -such as g_irepository_require() before calling this function.</p></page> +such as g_irepository_require() before calling this function.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_info.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_info.page index 85d0a533..11e7ebae 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_info.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_info.page @@ -1,15 +1,41 @@ <?xml version="1.0"?> + <page id="GIRepository.Repository.get_info" type="topic" style="method" 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.Repository" group="method"/> + <api:function> + <api:returns> + <api:type>GIRepository.BaseInfo</api:type> + </api:returns> + <api:name>g_irepository_get_info</api:name> + <api:arg> + <api:type>GIRepository *</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>utf8</api:type> + <api:name>namespace_</api:name> + </api:arg> + <api:arg> + <api:type>gint</api:type> + <api:name>index</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.Repository.get_info</title> + <title>get_info</title> +<synopsis><code mime="text/x-python"> +@accepts(utf8, gint) +@returns(GIRepository.BaseInfo) +def GIRepository.Repository.get_info(namespace_, index) +</code></synopsis> <p>This function returns a particular metadata entry in the given namespace @namespace_. The namespace must have already been loaded before calling this function. See g_irepository_get_n_infos() to find the maximum number of -entries.</p></page> +entries.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_loaded_namespaces.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_loaded_namespaces.page index b9203930..f6c49cb0 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_loaded_namespaces.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_loaded_namespaces.page @@ -1,11 +1,28 @@ <?xml version="1.0"?> + <page id="GIRepository.Repository.get_loaded_namespaces" type="topic" style="method" 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.Repository" group="method"/> + <api:function> + <api:returns> + <api:type>[utf8]</api:type> + </api:returns> + <api:name>g_irepository_get_loaded_namespaces</api:name> + <api:arg> + <api:type>GIRepository *</api:type> + <api:name>self</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.Repository.get_loaded_namespaces</title> -<p>Return the list of currently loaded namespaces.</p></page> + <title>get_loaded_namespaces</title> +<synopsis><code mime="text/x-python"> +@returns([utf8]) +def GIRepository.Repository.get_loaded_namespaces() +</code></synopsis> +<p>Return the list of currently loaded namespaces.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_n_infos.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_n_infos.page index 5cba4336..cb0a6193 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_n_infos.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_n_infos.page @@ -1,13 +1,35 @@ <?xml version="1.0"?> + <page id="GIRepository.Repository.get_n_infos" type="topic" style="method" 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.Repository" group="method"/> + <api:function> + <api:returns> + <api:type>gint</api:type> + </api:returns> + <api:name>g_irepository_get_n_infos</api:name> + <api:arg> + <api:type>GIRepository *</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>utf8</api:type> + <api:name>namespace_</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.Repository.get_n_infos</title> + <title>get_n_infos</title> +<synopsis><code mime="text/x-python"> +@accepts(utf8) +@returns(gint) +def GIRepository.Repository.get_n_infos(namespace_) +</code></synopsis> <p>This function returns the number of metadata entries in given namespace @namespace_. The namespace must have -already been loaded before calling this function.</p></page> +already been loaded before calling this function.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_option_group.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_option_group.page new file mode 100644 index 00000000..611b25e6 --- /dev/null +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_option_group.page @@ -0,0 +1,26 @@ +<?xml version="1.0"?> + +<page id="GIRepository.Repository.get_option_group" + 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.Repository" group="function"/> + <api:function> + <api:returns> + <api:type>GLib.OptionGroup</api:type> + </api:returns> + <api:name>g_irepository_get_option_group</api:name> + </api:function> + </info> + <title>get_option_group</title> +<synopsis><code mime="text/x-python"> +@returns(GLib.OptionGroup) +def GIRepository.Repository.get_option_group() +</code></synopsis> +<p>Obtain the option group for girepository, it's used +by the dumper and for programs that wants to provide +introspection information</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_search_path.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_search_path.page new file mode 100644 index 00000000..9cd41175 --- /dev/null +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_search_path.page @@ -0,0 +1,26 @@ +<?xml version="1.0"?> + +<page id="GIRepository.Repository.get_search_path" + 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.Repository" group="function"/> + <api:function> + <api:returns> + <api:type><list></api:type> + </api:returns> + <api:name>g_irepository_get_search_path</api:name> + </api:function> + </info> + <title>get_search_path</title> +<synopsis><code mime="text/x-python"> +@returns(<list>) +def GIRepository.Repository.get_search_path() +</code></synopsis> +<p>Returns the search path the GIRepository will use when looking for typelibs. +The string is internal to GIRespository and should not be freed, nor should +the elements.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_shared_library.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_shared_library.page index ed0bff74..0a54c8f8 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_shared_library.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_shared_library.page @@ -1,15 +1,37 @@ <?xml version="1.0"?> + <page id="GIRepository.Repository.get_shared_library" type="topic" style="method" 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.Repository" group="method"/> + <api:function> + <api:returns> + <api:type>utf8</api:type> + </api:returns> + <api:name>g_irepository_get_shared_library</api:name> + <api:arg> + <api:type>GIRepository *</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>utf8</api:type> + <api:name>namespace_</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.Repository.get_shared_library</title> + <title>get_shared_library</title> +<synopsis><code mime="text/x-python"> +@accepts(utf8) +@returns(utf8) +def GIRepository.Repository.get_shared_library(namespace_) +</code></synopsis> <p>This function returns the full path to the shared C library associated with the given namespace @namespace_. There may be no shared library path associated, in which case this function will return %NULL.</p><p>Note: The namespace must have already been loaded using a function -such as g_irepository_require() before calling this function.</p></page> +such as g_irepository_require() before calling this function.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_typelib_path.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_typelib_path.page index 60a1cc67..6f7f37ec 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_typelib_path.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_typelib_path.page @@ -1,14 +1,36 @@ <?xml version="1.0"?> + <page id="GIRepository.Repository.get_typelib_path" type="topic" style="method" 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.Repository" group="method"/> + <api:function> + <api:returns> + <api:type>utf8</api:type> + </api:returns> + <api:name>g_irepository_get_typelib_path</api:name> + <api:arg> + <api:type>GIRepository *</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>utf8</api:type> + <api:name>namespace_</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.Repository.get_typelib_path</title> + <title>get_typelib_path</title> +<synopsis><code mime="text/x-python"> +@accepts(utf8) +@returns(utf8) +def GIRepository.Repository.get_typelib_path(namespace_) +</code></synopsis> <p>If namespace @namespace_ is loaded, return the full path to the .typelib file it was loaded from. If the typelib for namespace @namespace_ was included in a shared library, return -the special string "$lt;builtin$gt;".</p></page> +the special string "$lt;builtin$gt;".</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_version.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_version.page index 97c961e0..23d7a3f8 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_version.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.get_version.page @@ -1,13 +1,35 @@ <?xml version="1.0"?> + <page id="GIRepository.Repository.get_version" type="topic" style="method" 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.Repository" group="method"/> + <api:function> + <api:returns> + <api:type>utf8</api:type> + </api:returns> + <api:name>g_irepository_get_version</api:name> + <api:arg> + <api:type>GIRepository *</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>utf8</api:type> + <api:name>namespace_</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.Repository.get_version</title> + <title>get_version</title> +<synopsis><code mime="text/x-python"> +@accepts(utf8) +@returns(utf8) +def GIRepository.Repository.get_version(namespace_) +</code></synopsis> <p>This function returns the loaded version associated with the given namespace @namespace_.</p><p>Note: The namespace must have already been loaded using a function -such as g_irepository_require() before calling this function.</p></page> +such as g_irepository_require() before calling this function.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.is_registered.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.is_registered.page index f9749286..efb12cc1 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.is_registered.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.is_registered.page @@ -1,16 +1,42 @@ <?xml version="1.0"?> + <page id="GIRepository.Repository.is_registered" type="topic" style="method" 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.Repository" group="method"/> + <api:function> + <api:returns> + <api:type>gboolean</api:type> + </api:returns> + <api:name>g_irepository_is_registered</api:name> + <api:arg> + <api:type>GIRepository *</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>utf8</api:type> + <api:name>namespace_</api:name> + </api:arg> + <api:arg> + <api:type>utf8</api:type> + <api:name>version</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.Repository.is_registered</title> + <title>is_registered</title> +<synopsis><code mime="text/x-python"> +@accepts(utf8, utf8) +@returns(gboolean) +def GIRepository.Repository.is_registered(namespace_, version) +</code></synopsis> <p>Check whether a particular namespace (and optionally, a specific version thereof) is currently loaded. This function is likely to only be useful in unusual circumstances; in order to act upon metadata in the namespace, you should call g_irepository_require() instead which will ensure the namespace is loaded, and return as -quickly as this function will if it has already been loaded.</p></page> +quickly as this function will if it has already been loaded.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.load_typelib.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.load_typelib.page index 42583b3d..3f90f9c8 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.load_typelib.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.load_typelib.page @@ -1,11 +1,37 @@ <?xml version="1.0"?> + <page id="GIRepository.Repository.load_typelib" type="topic" style="method" 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.Repository" group="method"/> + <api:function> + <api:returns> + <api:type>utf8</api:type> + </api:returns> + <api:name>g_irepository_load_typelib</api:name> + <api:arg> + <api:type>GIRepository *</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>GIRepository.Typelib</api:type> + <api:name>typelib</api:name> + </api:arg> + <api:arg> + <api:type>GIRepository.RepositoryLoadFlags</api:type> + <api:name>flags</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.Repository.load_typelib</title> + <title>load_typelib</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.Typelib, GIRepository.RepositoryLoadFlags) +@returns(utf8) +def GIRepository.Repository.load_typelib(typelib, flags) +</code></synopsis> + </page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.page index 02cfb1f5..b194a079 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.page @@ -3,11 +3,13 @@ type="guide" style="class" 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="class"/> </info> <title>GIRepository.Repository</title> + <synopsis ui:expanded="no"> <title>Hierarchy</title> <tree> @@ -16,19 +18,28 @@ </item> </tree> </synopsis> - <links type="topic" ui:expanded="yes" groups="constructor"> + <links type="topic" ui:expanded="yes" + api:type="function" api:mime="text/x-python" + groups="constructor" style="linklist"> <title>Constructors</title> </links> - <links type="topic" ui:expanded="yes" groups="method"> + <links type="topic" ui:expanded="yes" + api:type="function" api:mime="text/x-python" + groups="method" style="linklist"> <title>Methods</title> </links> - <links type="topic" ui:expanded="yes" groups="property"> + <links type="topic" ui:expanded="yes" + api:type="function" api:mime="text/x-python" + groups="function" style="linklist"> + <title>Functions</title> + </links> + <links type="topic" ui:expanded="yes" groups="property" style="linklist"> <title>Properties</title> </links> - <links type="topic" ui:expanded="yes" groups="signal"> + <links type="topic" ui:expanded="yes" groups="signal" style="linklist"> <title>Signals</title> </links> - <links type="topic" ui:expanded="yes" groups="#first #default #last"> + <links type="topic" ui:expanded="yes" groups="#first #default #last" style="linklist"> <title>Other</title> </links> </page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.prepend_search_path.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.prepend_search_path.page new file mode 100644 index 00000000..26e02482 --- /dev/null +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.prepend_search_path.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> + +<page id="GIRepository.Repository.prepend_search_path" + 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.Repository" group="function"/> + <api:function> + <api:returns> + <api:type>none</api:type> + </api:returns> + <api:name>g_irepository_prepend_search_path</api:name> + <api:arg> + <api:type>utf8</api:type> + <api:name>directory</api:name> + </api:arg> + </api:function> + </info> + <title>prepend_search_path</title> +<synopsis><code mime="text/x-python"> +@accepts(utf8) +@returns(none) +def GIRepository.Repository.prepend_search_path(directory) +</code></synopsis> + +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require.page index eaca377e..dd90bdfd 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require.page @@ -1,15 +1,45 @@ <?xml version="1.0"?> + <page id="GIRepository.Repository.require" type="topic" style="method" 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.Repository" group="method"/> + <api:function> + <api:returns> + <api:type>GIRepository.Typelib</api:type> + </api:returns> + <api:name>g_irepository_require</api:name> + <api:arg> + <api:type>GIRepository *</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>utf8</api:type> + <api:name>namespace_</api:name> + </api:arg> + <api:arg> + <api:type>utf8</api:type> + <api:name>version</api:name> + </api:arg> + <api:arg> + <api:type>GIRepository.RepositoryLoadFlags</api:type> + <api:name>flags</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.Repository.require</title> + <title>require</title> +<synopsis><code mime="text/x-python"> +@accepts(utf8, utf8, GIRepository.RepositoryLoadFlags) +@returns(GIRepository.Typelib) +def GIRepository.Repository.require(namespace_, version, flags) +</code></synopsis> <p>Force the namespace @namespace_ to be loaded if it isn't already. If @namespace_ is not loaded, this function will search for a ".typelib" file using the repository search path. In addition, a version @version of namespace may be specified. If @version is -not specified, the latest will be used.</p></page> +not specified, the latest will be used.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require_private.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require_private.page index 211d179b..55a6d61d 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require_private.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Repository.require_private.page @@ -1,15 +1,49 @@ <?xml version="1.0"?> + <page id="GIRepository.Repository.require_private" type="topic" style="method" 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.Repository" group="method"/> + <api:function> + <api:returns> + <api:type>GIRepository.Typelib</api:type> + </api:returns> + <api:name>g_irepository_require_private</api:name> + <api:arg> + <api:type>GIRepository *</api:type> + <api:name>self</api:name> + </api:arg> + <api:arg> + <api:type>utf8</api:type> + <api:name>typelib_dir</api:name> + </api:arg> + <api:arg> + <api:type>utf8</api:type> + <api:name>namespace_</api:name> + </api:arg> + <api:arg> + <api:type>utf8</api:type> + <api:name>version</api:name> + </api:arg> + <api:arg> + <api:type>GIRepository.RepositoryLoadFlags</api:type> + <api:name>flags</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.Repository.require_private</title> + <title>require_private</title> +<synopsis><code mime="text/x-python"> +@accepts(utf8, utf8, utf8, GIRepository.RepositoryLoadFlags) +@returns(GIRepository.Typelib) +def GIRepository.Repository.require_private(typelib_dir, namespace_, version, flags) +</code></synopsis> <p>Force the namespace @namespace_ to be loaded if it isn't already. If @namespace_ is not loaded, this function will search for a ".typelib" file within the private directory only. In addition, a version @version of namespace should be specified. If @version is -not specified, the latest will be used.</p></page> +not specified, the latest will be used.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryClass.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryClass.page index e8282d81..3da740bc 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryClass.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryClass.page @@ -7,5 +7,6 @@ <info> <link type="guide" xref="index"/> </info> - <title>GIRepository.RepositoryClass</title> + <title>GIRepositoryRepositoryClass</title> + <p>None</p> </page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryError.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryError.page index f2c0a0b7..3f996c90 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryError.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryError.page @@ -7,4 +7,5 @@ <info> </info> <title>GIRepository.RepositoryError</title> + </page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryLoadFlags.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryLoadFlags.page index 620b0d77..6ad05e8b 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryLoadFlags.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryLoadFlags.page @@ -8,4 +8,5 @@ </info> <title>GIRepository.RepositoryLoadFlags</title> <p>Flags that controlls how a typelib is loaded by -GIRepositry, used by g_irepository_load_typelib().</p></page> +GIRepositry, used by g_irepository_load_typelib().</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryPrivate.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryPrivate.page deleted file mode 100644 index b8d23139..00000000 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.RepositoryPrivate.page +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0"?> -<page id="GIRepository.RepositoryPrivate" - type="guide" - style="record" - xmlns="http://projectmallard.org/1.0/" - xmlns:ui="http://projectmallard.org/experimental/ui/"> - <info> - <link type="guide" xref="index"/> - </info> - <title>GIRepository.RepositoryPrivate</title> -</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ScopeType.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ScopeType.page index 8ac8bff9..f2d85eb2 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ScopeType.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ScopeType.page @@ -9,4 +9,5 @@ <title>GIRepository.ScopeType</title> <p>Scope type of a <link xref="GIArgInfo">GIArgInfo</link> representing callback, determines how the callback is invoked and is used to decided when the invoke structs -can be freed.</p></page> +can be freed.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.SignalInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.SignalInfo.page index 239e792b..24f8471c 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.SignalInfo.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.SignalInfo.page @@ -7,4 +7,5 @@ <info> </info> <title>GIRepository.SignalInfo</title> -<p>Represents a signal.</p></page> +<p>Represents a signal.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.StructInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.StructInfo.page index f99632ff..5e1cb0dc 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.StructInfo.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.StructInfo.page @@ -7,4 +7,5 @@ <info> </info> <title>GIRepository.StructInfo</title> -<p>Represents a struct.</p></page> +<p>Represents a struct.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Transfer.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Transfer.page index b1c7a862..67f0729e 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Transfer.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Transfer.page @@ -16,4 +16,5 @@ ownership transfer is complete. In case of a containing type such as a list, an array or a hash table the container itself is specified differently from the items within the container itself. Each container is freed differently, check the documentation for the types themselves for information on how to -free them.</p></page> +free them.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.TypeInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.TypeInfo.page index 38ac1939..5b46d876 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.TypeInfo.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.TypeInfo.page @@ -7,4 +7,5 @@ <info> </info> <title>GIRepository.TypeInfo</title> -<p>Represents type information, direction, transfer etc.</p></page> +<p>Represents type information, direction, transfer etc.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.TypeTag.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.TypeTag.page index 128b4124..d78b1676 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.TypeTag.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.TypeTag.page @@ -7,4 +7,5 @@ <info> </info> <title>GIRepository.TypeTag</title> -<p>The type tag of a <link xref="GITypeInfo">GITypeInfo</link>.</p></page> +<p>The type tag of a <link xref="GITypeInfo">GITypeInfo</link>.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.free.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.free.page deleted file mode 100644 index 6f50f761..00000000 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.free.page +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0"?> -<page id="GIRepository.Typelib.free" - type="topic" - style="function" - xmlns="http://projectmallard.org/1.0/" - xmlns:ui="http://projectmallard.org/experimental/ui/"> - <info> - <link type="guide" xref="GIRepository.Typelib" group="function"/> - </info> - <title>GIRepository.free</title> -</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.get_namespace.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.get_namespace.page deleted file mode 100644 index 23642dd4..00000000 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.get_namespace.page +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0"?> -<page id="GIRepository.Typelib.get_namespace" - type="topic" - style="function" - xmlns="http://projectmallard.org/1.0/" - xmlns:ui="http://projectmallard.org/experimental/ui/"> - <info> - <link type="guide" xref="GIRepository.Typelib" group="function"/> - </info> - <title>GIRepository.get_namespace</title> -</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.page deleted file mode 100644 index 946bb07f..00000000 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.page +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0"?> -<page id="GIRepository.Typelib" - type="guide" - style="record" - xmlns="http://projectmallard.org/1.0/" - xmlns:ui="http://projectmallard.org/experimental/ui/"> - <info> - <link type="guide" xref="index"/> - </info> - <title>GIRepository.Typelib</title> -</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.symbol.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.symbol.page deleted file mode 100644 index a65440dd..00000000 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.Typelib.symbol.page +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0"?> -<page id="GIRepository.Typelib.symbol" - type="topic" - style="function" - xmlns="http://projectmallard.org/1.0/" - xmlns:ui="http://projectmallard.org/experimental/ui/"> - <info> - <link type="guide" xref="GIRepository.Typelib" group="function"/> - </info> - <title>GIRepository.symbol</title> -</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.UnionInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.UnionInfo.page index 34ee6384..013ecb53 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.UnionInfo.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.UnionInfo.page @@ -7,4 +7,5 @@ <info> </info> <title>GIRepository.UnionInfo</title> -<p>Represents a union.</p></page> +<p>Represents a union.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.UnresolvedInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.UnresolvedInfo.page deleted file mode 100644 index e65ea505..00000000 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.UnresolvedInfo.page +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0"?> -<page id="GIRepository.UnresolvedInfo" - type="guide" - style="record" - xmlns="http://projectmallard.org/1.0/" - xmlns:ui="http://projectmallard.org/experimental/ui/"> - <info> - <link type="guide" xref="index"/> - </info> - <title>GIRepository.UnresolvedInfo</title> -<p>Represents a unresolved type in a typelib.</p></page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.VFuncInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.VFuncInfo.page index 6dc63171..a864ec1d 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.VFuncInfo.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.VFuncInfo.page @@ -7,4 +7,5 @@ <info> </info> <title>GIRepository.VFuncInfo</title> -<p>Represents a virtual function.</p></page> +<p>Represents a virtual function.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.VFuncInfoFlags.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.VFuncInfoFlags.page index df2ca4f5..7b6d703e 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.VFuncInfoFlags.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.VFuncInfoFlags.page @@ -7,4 +7,5 @@ <info> </info> <title>GIRepository.VFuncInfoFlags</title> -<p>Flags of a <link xref="GIVFuncInfo">GIVFuncInfo</link> struct.</p></page> +<p>Flags of a <link xref="GIVFuncInfo">GIVFuncInfo</link> struct.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ValueInfo.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ValueInfo.page index 3892b2a5..38d93f2f 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ValueInfo.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.ValueInfo.page @@ -7,4 +7,5 @@ <info> </info> <title>GIRepository.ValueInfo</title> -<p>Represents a enum value of a <link xref="GIEnumInfo">GIEnumInfo</link>.</p></page> +<p>Represents a enum value of a <link xref="GIEnumInfo">GIEnumInfo</link>.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository._Argument.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository._Argument.page index 41893502..b5472b97 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository._Argument.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository._Argument.page @@ -7,4 +7,5 @@ <info> </info> <title>GIRepository._Argument</title> + </page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository._BaseInfoStub.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository._BaseInfoStub.page index 13b5d801..7d57d63d 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository._BaseInfoStub.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository._BaseInfoStub.page @@ -7,5 +7,6 @@ <info> <link type="guide" xref="index"/> </info> - <title>GIRepository._BaseInfoStub</title> + <title>GIRepository_BaseInfoStub</title> + <p>None</p> </page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_closure.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_closure.page index 2dd6878f..aa124158 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_closure.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_closure.page @@ -1,12 +1,30 @@ <?xml version="1.0"?> + <page id="GIRepository.arg_info_get_closure" 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>gint</api:type> + </api:returns> + <api:name>g_arg_info_get_closure</api:name> + <api:arg> + <api:type>GIRepository.ArgInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.arg_info_get_closure</title> + <title>arg_info_get_closure</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ArgInfo) +@returns(gint) +def arg_info_get_closure(info) +</code></synopsis> <p>Obtain the index of the user data argument. This is only valid -for arguments which are callbacks.</p></page> +for arguments which are callbacks.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_destroy.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_destroy.page index 5116162a..f5a82a51 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_destroy.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_destroy.page @@ -1,12 +1,30 @@ <?xml version="1.0"?> + <page id="GIRepository.arg_info_get_destroy" 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>gint</api:type> + </api:returns> + <api:name>g_arg_info_get_destroy</api:name> + <api:arg> + <api:type>GIRepository.ArgInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.arg_info_get_destroy</title> + <title>arg_info_get_destroy</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ArgInfo) +@returns(gint) +def arg_info_get_destroy(info) +</code></synopsis> <p>Obtains the index of the <link xref="GDestroyNotify">GDestroyNotify</link> argument. This is only valid -for arguments which are callbacks.</p></page> +for arguments which are callbacks.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_direction.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_direction.page index c17be515..ad793dd8 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_direction.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_direction.page @@ -1,12 +1,30 @@ <?xml version="1.0"?> + <page id="GIRepository.arg_info_get_direction" 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.Direction</api:type> + </api:returns> + <api:name>g_arg_info_get_direction</api:name> + <api:arg> + <api:type>GIRepository.ArgInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.arg_info_get_direction</title> + <title>arg_info_get_direction</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ArgInfo) +@returns(GIRepository.Direction) +def arg_info_get_direction(info) +</code></synopsis> <p>Obtain the direction of the argument. Check <link xref="GIDirection">GIDirection</link> for possible -direction values.</p></page> +direction values.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_ownership_transfer.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_ownership_transfer.page index a1091c9b..10da3c98 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_ownership_transfer.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_ownership_transfer.page @@ -1,12 +1,30 @@ <?xml version="1.0"?> + <page id="GIRepository.arg_info_get_ownership_transfer" 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.Transfer</api:type> + </api:returns> + <api:name>g_arg_info_get_ownership_transfer</api:name> + <api:arg> + <api:type>GIRepository.ArgInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.arg_info_get_ownership_transfer</title> + <title>arg_info_get_ownership_transfer</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ArgInfo) +@returns(GIRepository.Transfer) +def arg_info_get_ownership_transfer(info) +</code></synopsis> <p>Obtain the ownership transfer for this argument. -<link xref="GITransfer">GITransfer</link> contains a list of possible values.</p></page> +<link xref="GITransfer">GITransfer</link> contains a list of possible values.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_scope.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_scope.page index f80b184b..f96ba5bc 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_scope.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_scope.page @@ -1,14 +1,32 @@ <?xml version="1.0"?> + <page id="GIRepository.arg_info_get_scope" 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.ScopeType</api:type> + </api:returns> + <api:name>g_arg_info_get_scope</api:name> + <api:arg> + <api:type>GIRepository.ArgInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.arg_info_get_scope</title> + <title>arg_info_get_scope</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ArgInfo) +@returns(GIRepository.ScopeType) +def arg_info_get_scope(info) +</code></synopsis> <p>Obtain the scope type for this argument. The scope type explains how a callback is going to be invoked, most importantly when the resources required to invoke it can be freed. -<link xref="GIScopeType">GIScopeType</link> contains a list of possible values.</p></page> +<link xref="GIScopeType">GIScopeType</link> contains a list of possible values.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_type.page index 7aba6d1d..18d936cb 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_type.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_get_type.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.arg_info_get_type" 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.TypeInfo</api:type> + </api:returns> + <api:name>g_arg_info_get_type</api:name> + <api:arg> + <api:type>GIRepository.ArgInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.arg_info_get_type</title> -<p>Obtain the type information for @info.</p><p>g_base_info_unref() when done.</p></page> + <title>arg_info_get_type</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ArgInfo) +@returns(GIRepository.TypeInfo) +def arg_info_get_type(info) +</code></synopsis> +<p>Obtain the type information for @info.</p><p>g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_caller_allocates.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_caller_allocates.page index 4c504555..6f2302c8 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_caller_allocates.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_caller_allocates.page @@ -1,14 +1,32 @@ <?xml version="1.0"?> + <page id="GIRepository.arg_info_is_caller_allocates" 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_arg_info_is_caller_allocates</api:name> + <api:arg> + <api:type>GIRepository.ArgInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.arg_info_is_caller_allocates</title> + <title>arg_info_is_caller_allocates</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ArgInfo) +@returns(gboolean) +def arg_info_is_caller_allocates(info) +</code></synopsis> <p>Obtain if the argument is a pointer to a struct or object that will receive an output of a function. The default assumption for %GI_DIRECTION_OUT arguments which have allocation is that the -callee allocates; if this is %TRUE, then the caller must allocate.</p></page> +callee allocates; if this is %TRUE, then the caller must allocate.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_optional.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_optional.page index 0d87d0ed..c8cf7b9f 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_optional.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_optional.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.arg_info_is_optional" 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_arg_info_is_optional</api:name> + <api:arg> + <api:type>GIRepository.ArgInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.arg_info_is_optional</title> -<p>Obtain if the argument is optional.</p></page> + <title>arg_info_is_optional</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ArgInfo) +@returns(gboolean) +def arg_info_is_optional(info) +</code></synopsis> +<p>Obtain if the argument is optional.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_return_value.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_return_value.page index a98a3a62..e60f60b9 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_return_value.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_return_value.page @@ -1,12 +1,30 @@ <?xml version="1.0"?> + <page id="GIRepository.arg_info_is_return_value" 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_arg_info_is_return_value</api:name> + <api:arg> + <api:type>GIRepository.ArgInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.arg_info_is_return_value</title> + <title>arg_info_is_return_value</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ArgInfo) +@returns(gboolean) +def arg_info_is_return_value(info) +</code></synopsis> <p>Obtain if the argument is a return value. It can either be a -parameter or a return value.</p></page> +parameter or a return value.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_skip.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_skip.page index a4555648..7eff23d8 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_skip.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_is_skip.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.arg_info_is_skip" 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_arg_info_is_skip</api:name> + <api:arg> + <api:type>GIRepository.ArgInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.arg_info_is_skip</title> -<p>Obtain if an argument is only useful in C.</p></page> + <title>arg_info_is_skip</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ArgInfo) +@returns(gboolean) +def arg_info_is_skip(info) +</code></synopsis> +<p>Obtain if an argument is only useful in C.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_load_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_load_type.page index 4dbf8120..5596ffe8 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_load_type.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_load_type.page @@ -1,13 +1,35 @@ <?xml version="1.0"?> + <page id="GIRepository.arg_info_load_type" 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>none</api:type> + </api:returns> + <api:name>g_arg_info_load_type</api:name> + <api:arg> + <api:type>GIRepository.ArgInfo</api:type> + <api:name>info</api:name> + </api:arg> + <api:arg> + <api:type>GIRepository.TypeInfo</api:type> + <api:name>type</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.arg_info_load_type</title> + <title>arg_info_load_type</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ArgInfo, GIRepository.TypeInfo) +@returns(none) +def arg_info_load_type(info, type) +</code></synopsis> <p>Obtain information about a the type of given argument @info; this function is a variant of g_arg_info_get_type() designed for stack -allocation.</p><p>The initialized @type must not be referenced after @info is deallocated.</p></page> +allocation.</p><p>The initialized @type must not be referenced after @info is deallocated.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_may_be_null.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_may_be_null.page index ec2595cb..71ac311b 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_may_be_null.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.arg_info_may_be_null.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.arg_info_may_be_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_arg_info_may_be_null</api:name> + <api:arg> + <api:type>GIRepository.ArgInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.arg_info_may_be_null</title> -<p>Obtain if the argument accepts %NULL.</p></page> + <title>arg_info_may_be_null</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ArgInfo) +@returns(gboolean) +def arg_info_may_be_null(info) +</code></synopsis> +<p>Obtain if the argument accepts %NULL.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.base_info_get_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.base_info_get_type.page index d217737a..5a839ba2 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.base_info_get_type.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.base_info_get_type.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.base_info_get_type" 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.InfoType</api:type> + </api:returns> + <api:name>g_base_info_get_type</api:name> + <api:arg> + <api:type>GIRepository.BaseInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.base_info_get_type</title> -<p>Obtain the info type of the GIBaseInfo.</p></page> + <title>base_info_get_type</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.BaseInfo) +@returns(GIRepository.InfoType) +def base_info_get_type(info) +</code></synopsis> +<p>Obtain the info type of the GIBaseInfo.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_arg.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_arg.page index eca50d15..53715906 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_arg.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_arg.page @@ -1,11 +1,33 @@ <?xml version="1.0"?> + <page id="GIRepository.callable_info_get_arg" 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.ArgInfo</api:type> + </api:returns> + <api:name>g_callable_info_get_arg</api:name> + <api:arg> + <api:type>GIRepository.CallableInfo</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.callable_info_get_arg</title> -<p>Obtain information about a particular argument of this callable.</p><p>g_base_info_unref() when done.</p></page> + <title>callable_info_get_arg</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.CallableInfo, gint) +@returns(GIRepository.ArgInfo) +def callable_info_get_arg(info, n) +</code></synopsis> +<p>Obtain information about a particular argument of this callable.</p><p>g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_caller_owns.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_caller_owns.page index 730c3ce4..dc6d8fa2 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_caller_owns.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_caller_owns.page @@ -1,12 +1,30 @@ <?xml version="1.0"?> + <page id="GIRepository.callable_info_get_caller_owns" 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.Transfer</api:type> + </api:returns> + <api:name>g_callable_info_get_caller_owns</api:name> + <api:arg> + <api:type>GIRepository.CallableInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.callable_info_get_caller_owns</title> + <title>callable_info_get_caller_owns</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.CallableInfo) +@returns(GIRepository.Transfer) +def callable_info_get_caller_owns(info) +</code></synopsis> <p>See whether the caller owns the return value of this callable. -<link xref="GITransfer">GITransfer</link> contains a list of possible transfer values.</p></page> +<link xref="GITransfer">GITransfer</link> contains a list of possible transfer values.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_n_args.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_n_args.page index 1212d82a..3da74c62 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_n_args.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_n_args.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.callable_info_get_n_args" 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>gint</api:type> + </api:returns> + <api:name>g_callable_info_get_n_args</api:name> + <api:arg> + <api:type>GIRepository.CallableInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.callable_info_get_n_args</title> -<p>Obtain the number of arguments (both IN and OUT) for this callable.</p></page> + <title>callable_info_get_n_args</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.CallableInfo) +@returns(gint) +def callable_info_get_n_args(info) +</code></synopsis> +<p>Obtain the number of arguments (both IN and OUT) for this callable.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_attribute.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_attribute.page index 99d5139d..51c0b395 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_attribute.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_attribute.page @@ -1,11 +1,33 @@ <?xml version="1.0"?> + <page id="GIRepository.callable_info_get_return_attribute" 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>utf8</api:type> + </api:returns> + <api:name>g_callable_info_get_return_attribute</api:name> + <api:arg> + <api:type>GIRepository.CallableInfo</api:type> + <api:name>info</api:name> + </api:arg> + <api:arg> + <api:type>utf8</api:type> + <api:name>name</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.callable_info_get_return_attribute</title> -<p>Retrieve an arbitrary attribute associated with the return value.</p></page> + <title>callable_info_get_return_attribute</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.CallableInfo, utf8) +@returns(utf8) +def callable_info_get_return_attribute(info, name) +</code></synopsis> +<p>Retrieve an arbitrary attribute associated with the return value.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_type.page index 653aafa7..06ec01a7 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_type.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_get_return_type.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.callable_info_get_return_type" 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.TypeInfo</api:type> + </api:returns> + <api:name>g_callable_info_get_return_type</api:name> + <api:arg> + <api:type>GIRepository.CallableInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.callable_info_get_return_type</title> -<p>Obtain the return type of a callable item as a <link xref="GITypeInfo">GITypeInfo</link>.</p><p>g_base_info_unref() when done.</p></page> + <title>callable_info_get_return_type</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.CallableInfo) +@returns(GIRepository.TypeInfo) +def callable_info_get_return_type(info) +</code></synopsis> +<p>Obtain the return type of a callable item as a <link xref="GITypeInfo">GITypeInfo</link>.</p><p>g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_iterate_return_attributes.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_iterate_return_attributes.page index 90c923a5..18903c06 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_iterate_return_attributes.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_iterate_return_attributes.page @@ -1,15 +1,45 @@ <?xml version="1.0"?> + <page id="GIRepository.callable_info_iterate_return_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="index" group="function"/> + <api:function> + <api:returns> + <api:type>gboolean</api:type> + </api:returns> + <api:name>g_callable_info_iterate_return_attributes</api:name> + <api:arg> + <api:type>GIRepository.CallableInfo</api:type> + <api:name>info</api:name> + </api:arg> + <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.callable_info_iterate_return_attributes</title> + <title>callable_info_iterate_return_attributes</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.CallableInfo, GIRepository.AttributeIter, utf8, utf8) +@returns(gboolean) +def callable_info_iterate_return_attributes(info, iterator, name, value) +</code></synopsis> <p>Iterate over all attributes associated with the return value. 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 and must not be freed.</p><p>See g_base_info_iterate_attributes() for an example of how to use a -similar API.</p></page> +similar API.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_load_arg.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_load_arg.page index 28e7258c..5b3c6e4f 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_load_arg.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_load_arg.page @@ -1,13 +1,39 @@ <?xml version="1.0"?> + <page id="GIRepository.callable_info_load_arg" 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>none</api:type> + </api:returns> + <api:name>g_callable_info_load_arg</api:name> + <api:arg> + <api:type>GIRepository.CallableInfo</api:type> + <api:name>info</api:name> + </api:arg> + <api:arg> + <api:type>gint</api:type> + <api:name>n</api:name> + </api:arg> + <api:arg> + <api:type>GIRepository.ArgInfo</api:type> + <api:name>arg</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.callable_info_load_arg</title> + <title>callable_info_load_arg</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.CallableInfo, gint, GIRepository.ArgInfo) +@returns(none) +def callable_info_load_arg(info, n, arg) +</code></synopsis> <p>Obtain information about a particular argument of this callable; this function is a variant of g_callable_info_get_arg() designed for stack -allocation.</p><p>The initialized @arg must not be referenced after @info is deallocated.</p></page> +allocation.</p><p>The initialized @arg must not be referenced after @info is deallocated.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_load_return_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_load_return_type.page index 5176c822..ff03f75f 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_load_return_type.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_load_return_type.page @@ -1,13 +1,35 @@ <?xml version="1.0"?> + <page id="GIRepository.callable_info_load_return_type" 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>none</api:type> + </api:returns> + <api:name>g_callable_info_load_return_type</api:name> + <api:arg> + <api:type>GIRepository.CallableInfo</api:type> + <api:name>info</api:name> + </api:arg> + <api:arg> + <api:type>GIRepository.TypeInfo</api:type> + <api:name>type</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.callable_info_load_return_type</title> + <title>callable_info_load_return_type</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.CallableInfo, GIRepository.TypeInfo) +@returns(none) +def callable_info_load_return_type(info, type) +</code></synopsis> <p>Obtain information about a return value of callable; this function is a variant of g_callable_info_get_return_type() designed for stack -allocation.</p><p>The initialized @type must not be referenced after @info is deallocated.</p></page> +allocation.</p><p>The initialized @type must not be referenced after @info is deallocated.</p> +</page> 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> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_skip_return.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_skip_return.page index 05a7ea16..e1d46165 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_skip_return.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.callable_info_skip_return.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.callable_info_skip_return" 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_skip_return</api:name> + <api:arg> + <api:type>GIRepository.CallableInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.callable_info_skip_return</title> -<p>See if a callable's return value is only useful in C.</p></page> + <title>callable_info_skip_return</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.CallableInfo) +@returns(gboolean) +def callable_info_skip_return(info) +</code></synopsis> +<p>See if a callable's return value is only useful in C.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_free_value.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_free_value.page new file mode 100644 index 00000000..a2d38a3c --- /dev/null +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_free_value.page @@ -0,0 +1,33 @@ +<?xml version="1.0"?> + +<page id="GIRepository.constant_info_free_value" + 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>none</api:type> + </api:returns> + <api:name>g_constant_info_free_value</api:name> + <api:arg> + <api:type>GIRepository.ConstantInfo</api:type> + <api:name>info</api:name> + </api:arg> + <api:arg> + <api:type>None</api:type> + <api:name>value</api:name> + </api:arg> + </api:function> + </info> + <title>constant_info_free_value</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ConstantInfo, None) +@returns(none) +def constant_info_free_value(info, value) +</code></synopsis> +<p>Free the value returned from g_constant_info_get_value().</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_get_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_get_type.page index 189e57c5..679cf54a 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_get_type.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_get_type.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.constant_info_get_type" 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.TypeInfo</api:type> + </api:returns> + <api:name>g_constant_info_get_type</api:name> + <api:arg> + <api:type>GIRepository.ConstantInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.constant_info_get_type</title> -<p>Obtain the type of the constant as a <link xref="GITypeInfo">GITypeInfo</link>.</p><p>g_base_info_unref() when done.</p></page> + <title>constant_info_get_type</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ConstantInfo) +@returns(GIRepository.TypeInfo) +def constant_info_get_type(info) +</code></synopsis> +<p>Obtain the type of the constant as a <link xref="GITypeInfo">GITypeInfo</link>.</p><p>g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_get_value.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_get_value.page index a47181ae..0bcb7435 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_get_value.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.constant_info_get_value.page @@ -1,13 +1,36 @@ <?xml version="1.0"?> + <page id="GIRepository.constant_info_get_value" 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>gint</api:type> + </api:returns> + <api:name>g_constant_info_get_value</api:name> + <api:arg> + <api:type>GIRepository.ConstantInfo</api:type> + <api:name>info</api:name> + </api:arg> + <api:arg> + <api:type>None</api:type> + <api:name>value</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.constant_info_get_value</title> + <title>constant_info_get_value</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ConstantInfo, None) +@returns(gint) +def constant_info_get_value(info, value) +</code></synopsis> <p>Obtain the value associated with the <link xref="GIConstantInfo">GIConstantInfo</link> and store it in the @value parameter. @argument needs to be allocated before passing it in. -The size of the constant value stored in @argument will be returned.</p></page> +The size of the constant value stored in @argument will be returned. +Free the value with g_constant_info_free_value().</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_error_domain.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_error_domain.page index 1aa26b40..0b0cb90e 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_error_domain.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_error_domain.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.enum_info_get_error_domain" 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>utf8</api:type> + </api:returns> + <api:name>g_enum_info_get_error_domain</api:name> + <api:arg> + <api:type>GIRepository.EnumInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.enum_info_get_error_domain</title> + <title>enum_info_get_error_domain</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.EnumInfo) +@returns(utf8) +def enum_info_get_error_domain(info) +</code></synopsis> + </page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_method.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_method.page new file mode 100644 index 00000000..99b5ec98 --- /dev/null +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_method.page @@ -0,0 +1,33 @@ +<?xml version="1.0"?> + +<page id="GIRepository.enum_info_get_method" + 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.FunctionInfo</api:type> + </api:returns> + <api:name>g_enum_info_get_method</api:name> + <api:arg> + <api:type>GIRepository.EnumInfo</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>enum_info_get_method</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.EnumInfo, gint) +@returns(GIRepository.FunctionInfo) +def enum_info_get_method(info, n) +</code></synopsis> +<p>Obtain an enum type method at index @n.</p><p>g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_n_methods.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_n_methods.page new file mode 100644 index 00000000..d066396c --- /dev/null +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_n_methods.page @@ -0,0 +1,29 @@ +<?xml version="1.0"?> + +<page id="GIRepository.enum_info_get_n_methods" + 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>gint</api:type> + </api:returns> + <api:name>g_enum_info_get_n_methods</api:name> + <api:arg> + <api:type>GIRepository.EnumInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> + </info> + <title>enum_info_get_n_methods</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.EnumInfo) +@returns(gint) +def enum_info_get_n_methods(info) +</code></synopsis> +<p>Obtain the number of methods that this enum type has.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_n_values.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_n_values.page index 3fdbc5d4..dade6503 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_n_values.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_n_values.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.enum_info_get_n_values" 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>gint</api:type> + </api:returns> + <api:name>g_enum_info_get_n_values</api:name> + <api:arg> + <api:type>GIRepository.EnumInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.enum_info_get_n_values</title> + <title>enum_info_get_n_values</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.EnumInfo) +@returns(gint) +def enum_info_get_n_values(info) +</code></synopsis> + </page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_storage_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_storage_type.page index 6d827b81..e82eabec 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_storage_type.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_storage_type.page @@ -1,15 +1,33 @@ <?xml version="1.0"?> + <page id="GIRepository.enum_info_get_storage_type" 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.TypeTag</api:type> + </api:returns> + <api:name>g_enum_info_get_storage_type</api:name> + <api:arg> + <api:type>GIRepository.EnumInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.enum_info_get_storage_type</title> + <title>enum_info_get_storage_type</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.EnumInfo) +@returns(GIRepository.TypeTag) +def enum_info_get_storage_type(info) +</code></synopsis> <p>Obtain the tag of the type used for the enum in the C ABI. This will will be a signed or unsigned integral type. Note that in the current implementation the width of the type is computed correctly, but the signed or unsigned nature of the type -may not match the sign of the type used by the C compiler.</p></page> +may not match the sign of the type used by the C compiler.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_value.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_value.page index bcb571ef..bf413e43 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_value.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.enum_info_get_value.page @@ -1,11 +1,33 @@ <?xml version="1.0"?> + <page id="GIRepository.enum_info_get_value" 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.ValueInfo</api:type> + </api:returns> + <api:name>g_enum_info_get_value</api:name> + <api:arg> + <api:type>GIRepository.EnumInfo</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.enum_info_get_value</title> -<p>Obtain a value for this enumeration.</p><p>free the struct with g_base_info_unref() when done.</p></page> + <title>enum_info_get_value</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.EnumInfo, gint) +@returns(GIRepository.ValueInfo) +def enum_info_get_value(info, n) +</code></synopsis> +<p>Obtain a value for this enumeration.</p><p>free the struct with g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_field.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_field.page index e824aa21..ad2e3e8f 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_field.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_field.page @@ -1,14 +1,40 @@ <?xml version="1.0"?> + <page id="GIRepository.field_info_get_field" 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_field_info_get_field</api:name> + <api:arg> + <api:type>GIRepository.FieldInfo</api:type> + <api:name>field_info</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>mem</api:name> + </api:arg> + <api:arg> + <api:type>None</api:type> + <api:name>value</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.field_info_get_field</title> + <title>field_info_get_field</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.FieldInfo, gpointer, None) +@returns(gboolean) +def field_info_get_field(field_info, mem, value) +</code></synopsis> <p>Reads a field identified by a <link xref="GFieldInfo">GFieldInfo</link> from a C structure or union. This only handles fields of simple C types. It will fail for a field of a composite type like a nested structure or union -even if that is actually readable.</p></page> +even if that is actually readable.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_flags.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_flags.page index 88ceae7a..496ff0e5 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_flags.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_flags.page @@ -1,12 +1,30 @@ <?xml version="1.0"?> + <page id="GIRepository.field_info_get_flags" 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.FieldInfoFlags</api:type> + </api:returns> + <api:name>g_field_info_get_flags</api:name> + <api:arg> + <api:type>GIRepository.FieldInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.field_info_get_flags</title> + <title>field_info_get_flags</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.FieldInfo) +@returns(GIRepository.FieldInfoFlags) +def field_info_get_flags(info) +</code></synopsis> <p>Obtain the flags for this <link xref="GIFieldInfo">GIFieldInfo</link>. See <link xref="GIFieldInfoFlags">GIFieldInfoFlags</link> for possible -flag values.</p></page> +flag values.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_offset.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_offset.page index e7fe1962..9c83f421 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_offset.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_offset.page @@ -1,12 +1,30 @@ <?xml version="1.0"?> + <page id="GIRepository.field_info_get_offset" 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>gint</api:type> + </api:returns> + <api:name>g_field_info_get_offset</api:name> + <api:arg> + <api:type>GIRepository.FieldInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.field_info_get_offset</title> + <title>field_info_get_offset</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.FieldInfo) +@returns(gint) +def field_info_get_offset(info) +</code></synopsis> <p>Obtain the offset in bits of the field member, this is relative -to the beginning of the struct or union.</p></page> +to the beginning of the struct or union.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_size.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_size.page index 0561b65a..69c195c2 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_size.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_size.page @@ -1,12 +1,30 @@ <?xml version="1.0"?> + <page id="GIRepository.field_info_get_size" 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>gint</api:type> + </api:returns> + <api:name>g_field_info_get_size</api:name> + <api:arg> + <api:type>GIRepository.FieldInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.field_info_get_size</title> + <title>field_info_get_size</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.FieldInfo) +@returns(gint) +def field_info_get_size(info) +</code></synopsis> <p>Obtain the size in bits of the field member, this is how -much space you need to allocate to store the field.</p></page> +much space you need to allocate to store the field.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_type.page index eca27986..ec2d7097 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_type.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_get_type.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.field_info_get_type" 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.TypeInfo</api:type> + </api:returns> + <api:name>g_field_info_get_type</api:name> + <api:arg> + <api:type>GIRepository.FieldInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.field_info_get_type</title> -<p>Obtain the type of a field as a <link xref="GITypeInfo">GITypeInfo</link>.</p><p>g_base_info_unref() when done.</p></page> + <title>field_info_get_type</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.FieldInfo) +@returns(GIRepository.TypeInfo) +def field_info_get_type(info) +</code></synopsis> +<p>Obtain the type of a field as a <link xref="GITypeInfo">GITypeInfo</link>.</p><p>g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_set_field.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_set_field.page index ddee9b31..c8b97f66 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_set_field.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.field_info_set_field.page @@ -1,16 +1,42 @@ <?xml version="1.0"?> + <page id="GIRepository.field_info_set_field" 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_field_info_set_field</api:name> + <api:arg> + <api:type>GIRepository.FieldInfo</api:type> + <api:name>field_info</api:name> + </api:arg> + <api:arg> + <api:type>gpointer</api:type> + <api:name>mem</api:name> + </api:arg> + <api:arg> + <api:type>None</api:type> + <api:name>value</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.field_info_set_field</title> + <title>field_info_set_field</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.FieldInfo, gpointer, None) +@returns(gboolean) +def field_info_set_field(field_info, mem, value) +</code></synopsis> <p>Writes a field identified by a <link xref="GFieldInfo">GFieldInfo</link> to a C structure or union. This only handles fields of simple C types. It will fail for a field of a composite type like a nested structure or union even if that is actually writable. Note also that that it will refuse to write fields where memory management would by required. A field -with a type such as 'char *' must be set with a setter function.</p></page> +with a type such as 'char *' must be set with a setter function.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_flags.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_flags.page index 5d210e83..b8aeb309 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_flags.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_flags.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.function_info_get_flags" 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.FunctionInfoFlags</api:type> + </api:returns> + <api:name>g_function_info_get_flags</api:name> + <api:arg> + <api:type>GIRepository.FunctionInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.function_info_get_flags</title> -<p>Obtain the <link xref="GIFunctionInfoFlags">GIFunctionInfoFlags</link> for the @info.</p></page> + <title>function_info_get_flags</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.FunctionInfo) +@returns(GIRepository.FunctionInfoFlags) +def function_info_get_flags(info) +</code></synopsis> +<p>Obtain the <link xref="GIFunctionInfoFlags">GIFunctionInfoFlags</link> for the @info.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_property.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_property.page index 2a7da64c..a4e49a81 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_property.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_property.page @@ -1,14 +1,32 @@ <?xml version="1.0"?> + <page id="GIRepository.function_info_get_property" 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.PropertyInfo</api:type> + </api:returns> + <api:name>g_function_info_get_property</api:name> + <api:arg> + <api:type>GIRepository.FunctionInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.function_info_get_property</title> + <title>function_info_get_property</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.FunctionInfo) +@returns(GIRepository.PropertyInfo) +def function_info_get_property(info) +</code></synopsis> <p>Obtain the property associated with this <link xref="GIFunctionInfo">GIFunctionInfo</link>. Only <link xref="GIFunctionInfo">GIFunctionInfo</link> with the flag %GI_FUNCTION_IS_GETTER or %GI_FUNCTION_IS_SETTER have a property set. For other cases, -%NULL will be returned.</p><p>g_base_info_unref() when done.</p></page> +%NULL will be returned.</p><p>g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_symbol.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_symbol.page index 8ec516c8..16ff0b99 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_symbol.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_symbol.page @@ -1,13 +1,31 @@ <?xml version="1.0"?> + <page id="GIRepository.function_info_get_symbol" 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>utf8</api:type> + </api:returns> + <api:name>g_function_info_get_symbol</api:name> + <api:arg> + <api:type>GIRepository.FunctionInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.function_info_get_symbol</title> + <title>function_info_get_symbol</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.FunctionInfo) +@returns(utf8) +def function_info_get_symbol(info) +</code></synopsis> <p>Obtain the symbol of the function. The symbol is the name of the exported function, suitable to be used as an argument to -g_module_symbol().</p></page> +g_module_symbol().</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_vfunc.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_vfunc.page index 2380c62c..ee5761d1 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_vfunc.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_get_vfunc.page @@ -1,13 +1,31 @@ <?xml version="1.0"?> + <page id="GIRepository.function_info_get_vfunc" 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.VFuncInfo</api:type> + </api:returns> + <api:name>g_function_info_get_vfunc</api:name> + <api:arg> + <api:type>GIRepository.FunctionInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.function_info_get_vfunc</title> + <title>function_info_get_vfunc</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.FunctionInfo) +@returns(GIRepository.VFuncInfo) +def function_info_get_vfunc(info) +</code></synopsis> <p>Obtain the virtual function associated with this <link xref="GIFunctionInfo">GIFunctionInfo</link>. Only <link xref="GIFunctionInfo">GIFunctionInfo</link> with the flag %GI_FUNCTION_WRAPS_VFUNC has -a virtual function set. For other cases, %NULL will be returned.</p><p>Free it by calling g_base_info_unref() when done.</p></page> +a virtual function set. For other cases, %NULL will be returned.</p><p>Free it by calling g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_invoke.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_invoke.page index 8aedc49f..86ebc99e 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_invoke.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.function_info_invoke.page @@ -1,16 +1,54 @@ <?xml version="1.0"?> + <page id="GIRepository.function_info_invoke" 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_function_info_invoke</api:name> + <api:arg> + <api:type>GIRepository.FunctionInfo</api:type> + <api:name>info</api:name> + </api:arg> + <api:arg> + <api:type>None</api:type> + <api:name>in_args</api:name> + </api:arg> + <api:arg> + <api:type>gint</api:type> + <api:name>n_in_args</api:name> + </api:arg> + <api:arg> + <api:type>None</api:type> + <api:name>out_args</api:name> + </api:arg> + <api:arg> + <api:type>gint</api:type> + <api:name>n_out_args</api:name> + </api:arg> + <api:arg> + <api:type>None</api:type> + <api:name>return_value</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.function_info_invoke</title> + <title>function_info_invoke</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.FunctionInfo, None, gint, None, gint, None) +@returns(gboolean) +def function_info_invoke(info, in_args, n_in_args, out_args, n_out_args, return_value) +</code></synopsis> <p>Invokes the function described in @info with the given arguments. Note that inout parameters must appear in both argument lists. This function uses dlsym() to obtain a pointer to the function, so the library or shared object containing the described function must either be linked to the caller, or must -have been g_module_symbol()<!-- -->ed before calling this function.</p><p>error occurred.</p></page> +have been g_module_symbol()<!-- -->ed before calling this function.</p><p>error occurred.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.info_new.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.info_new.page index f7c61679..f7c85cfa 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.info_new.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.info_new.page @@ -1,11 +1,41 @@ <?xml version="1.0"?> + <page id="GIRepository.info_new" 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.BaseInfo</api:type> + </api:returns> + <api:name>g_info_new</api:name> + <api:arg> + <api:type>GIRepository.InfoType</api:type> + <api:name>type</api:name> + </api:arg> + <api:arg> + <api:type>GIRepository.BaseInfo</api:type> + <api:name>container</api:name> + </api:arg> + <api:arg> + <api:type>GIRepository.Typelib</api:type> + <api:name>typelib</api:name> + </api:arg> + <api:arg> + <api:type>guint32</api:type> + <api:name>offset</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.info_new</title> + <title>info_new</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.InfoType, GIRepository.BaseInfo, GIRepository.Typelib, guint32) +@returns(GIRepository.BaseInfo) +def info_new(type, container, typelib, offset) +</code></synopsis> + </page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.info_type_to_string.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.info_type_to_string.page index c671368b..3c2373c6 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.info_type_to_string.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.info_type_to_string.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.info_type_to_string" 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>utf8</api:type> + </api:returns> + <api:name>g_info_type_to_string</api:name> + <api:arg> + <api:type>GIRepository.InfoType</api:type> + <api:name>type</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.info_type_to_string</title> -<p>Obtain a string representation of @type</p></page> + <title>info_type_to_string</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.InfoType) +@returns(utf8) +def info_type_to_string(type) +</code></synopsis> +<p>Obtain a string representation of @type</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_find_method.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_find_method.page index 4f811344..7c14ac2b 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_find_method.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_find_method.page @@ -1,12 +1,34 @@ <?xml version="1.0"?> + <page id="GIRepository.interface_info_find_method" 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.FunctionInfo</api:type> + </api:returns> + <api:name>g_interface_info_find_method</api:name> + <api:arg> + <api:type>GIRepository.InterfaceInfo</api:type> + <api:name>info</api:name> + </api:arg> + <api:arg> + <api:type>utf8</api:type> + <api:name>name</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.interface_info_find_method</title> + <title>interface_info_find_method</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.InterfaceInfo, utf8) +@returns(GIRepository.FunctionInfo) +def interface_info_find_method(info, name) +</code></synopsis> <p>Obtain a method of the interface type given a @name. %NULL will be -returned if there's no method available with that name.</p><p>Free the struct by calling g_base_info_unref() when done.</p></page> +returned if there's no method available with that name.</p><p>Free the struct by calling g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_find_vfunc.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_find_vfunc.page index b431977d..2a3b2f4f 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_find_vfunc.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_find_vfunc.page @@ -1,12 +1,34 @@ <?xml version="1.0"?> + <page id="GIRepository.interface_info_find_vfunc" 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.VFuncInfo</api:type> + </api:returns> + <api:name>g_interface_info_find_vfunc</api:name> + <api:arg> + <api:type>GIRepository.InterfaceInfo</api:type> + <api:name>info</api:name> + </api:arg> + <api:arg> + <api:type>utf8</api:type> + <api:name>name</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.interface_info_find_vfunc</title> + <title>interface_info_find_vfunc</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.InterfaceInfo, utf8) +@returns(GIRepository.VFuncInfo) +def interface_info_find_vfunc(info, name) +</code></synopsis> <p>Locate a virtual function slot with name @name. See the documentation -for g_object_info_find_vfunc() for more information on virtuals.</p><p>g_base_info_unref() when done.</p></page> +for g_object_info_find_vfunc() for more information on virtuals.</p><p>g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_constant.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_constant.page index 2346fde5..778cbbb7 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_constant.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_constant.page @@ -1,11 +1,33 @@ <?xml version="1.0"?> + <page id="GIRepository.interface_info_get_constant" 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_interface_info_get_constant</api:name> + <api:arg> + <api:type>GIRepository.InterfaceInfo</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.interface_info_get_constant</title> -<p>Obtain an interface type constant at index @n.</p><p>g_base_info_unref() when done.</p></page> + <title>interface_info_get_constant</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.InterfaceInfo, gint) +@returns(GIRepository.ConstantInfo) +def interface_info_get_constant(info, n) +</code></synopsis> +<p>Obtain an interface type constant at index @n.</p><p>g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_iface_struct.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_iface_struct.page index d1d93f13..9564fd50 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_iface_struct.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_iface_struct.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.interface_info_get_iface_struct" 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.StructInfo</api:type> + </api:returns> + <api:name>g_interface_info_get_iface_struct</api:name> + <api:arg> + <api:type>GIRepository.InterfaceInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.interface_info_get_iface_struct</title> -<p>Returns the layout C structure associated with this <link xref="GInterface">GInterface</link>.</p><p>g_base_info_unref() when done.</p></page> + <title>interface_info_get_iface_struct</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.InterfaceInfo) +@returns(GIRepository.StructInfo) +def interface_info_get_iface_struct(info) +</code></synopsis> +<p>Returns the layout C structure associated with this <link xref="GInterface">GInterface</link>.</p><p>g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_method.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_method.page index bd43e4ff..4a855d8e 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_method.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_method.page @@ -1,11 +1,33 @@ <?xml version="1.0"?> + <page id="GIRepository.interface_info_get_method" 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.FunctionInfo</api:type> + </api:returns> + <api:name>g_interface_info_get_method</api:name> + <api:arg> + <api:type>GIRepository.InterfaceInfo</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.interface_info_get_method</title> -<p>Obtain an interface type method at index @n.</p><p>g_base_info_unref() when done.</p></page> + <title>interface_info_get_method</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.InterfaceInfo, gint) +@returns(GIRepository.FunctionInfo) +def interface_info_get_method(info, n) +</code></synopsis> +<p>Obtain an interface type method at index @n.</p><p>g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_constants.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_constants.page index 2e20aafc..f3c53172 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_constants.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_constants.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.interface_info_get_n_constants" 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>gint</api:type> + </api:returns> + <api:name>g_interface_info_get_n_constants</api:name> + <api:arg> + <api:type>GIRepository.InterfaceInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.interface_info_get_n_constants</title> -<p>Obtain the number of constants that this interface type has.</p></page> + <title>interface_info_get_n_constants</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.InterfaceInfo) +@returns(gint) +def interface_info_get_n_constants(info) +</code></synopsis> +<p>Obtain the number of constants that this interface type has.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_methods.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_methods.page index a2769ae6..f759d185 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_methods.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_methods.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.interface_info_get_n_methods" 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>gint</api:type> + </api:returns> + <api:name>g_interface_info_get_n_methods</api:name> + <api:arg> + <api:type>GIRepository.InterfaceInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.interface_info_get_n_methods</title> -<p>Obtain the number of methods that this interface type has.</p></page> + <title>interface_info_get_n_methods</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.InterfaceInfo) +@returns(gint) +def interface_info_get_n_methods(info) +</code></synopsis> +<p>Obtain the number of methods that this interface type has.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_prerequisites.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_prerequisites.page index a356a156..e4046bbb 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_prerequisites.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_prerequisites.page @@ -1,13 +1,31 @@ <?xml version="1.0"?> + <page id="GIRepository.interface_info_get_n_prerequisites" 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>gint</api:type> + </api:returns> + <api:name>g_interface_info_get_n_prerequisites</api:name> + <api:arg> + <api:type>GIRepository.InterfaceInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.interface_info_get_n_prerequisites</title> + <title>interface_info_get_n_prerequisites</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.InterfaceInfo) +@returns(gint) +def interface_info_get_n_prerequisites(info) +</code></synopsis> <p>Obtain the number of prerequisites for this interface type. A prerequisites is another interface that needs to be implemented for -interface, similar to an base class for GObjects.</p></page> +interface, similar to an base class for GObjects.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_properties.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_properties.page index 2db72af8..3a1f92ea 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_properties.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_properties.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.interface_info_get_n_properties" 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>gint</api:type> + </api:returns> + <api:name>g_interface_info_get_n_properties</api:name> + <api:arg> + <api:type>GIRepository.InterfaceInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.interface_info_get_n_properties</title> -<p>Obtain the number of properties that this interface type has.</p></page> + <title>interface_info_get_n_properties</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.InterfaceInfo) +@returns(gint) +def interface_info_get_n_properties(info) +</code></synopsis> +<p>Obtain the number of properties that this interface type has.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_signals.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_signals.page index 1b66f951..2a34b156 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_signals.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_signals.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.interface_info_get_n_signals" 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>gint</api:type> + </api:returns> + <api:name>g_interface_info_get_n_signals</api:name> + <api:arg> + <api:type>GIRepository.InterfaceInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.interface_info_get_n_signals</title> -<p>Obtain the number of signals that this interface type has.</p></page> + <title>interface_info_get_n_signals</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.InterfaceInfo) +@returns(gint) +def interface_info_get_n_signals(info) +</code></synopsis> +<p>Obtain the number of signals that this interface type has.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_vfuncs.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_vfuncs.page index 12564d77..f3b39cae 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_vfuncs.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_n_vfuncs.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.interface_info_get_n_vfuncs" 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>gint</api:type> + </api:returns> + <api:name>g_interface_info_get_n_vfuncs</api:name> + <api:arg> + <api:type>GIRepository.InterfaceInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.interface_info_get_n_vfuncs</title> -<p>Obtain the number of virtual functions that this interface type has.</p></page> + <title>interface_info_get_n_vfuncs</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.InterfaceInfo) +@returns(gint) +def interface_info_get_n_vfuncs(info) +</code></synopsis> +<p>Obtain the number of virtual functions that this interface type has.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_prerequisite.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_prerequisite.page index 53fb1c16..48a3afd8 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_prerequisite.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_prerequisite.page @@ -1,11 +1,33 @@ <?xml version="1.0"?> + <page id="GIRepository.interface_info_get_prerequisite" 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.BaseInfo</api:type> + </api:returns> + <api:name>g_interface_info_get_prerequisite</api:name> + <api:arg> + <api:type>GIRepository.InterfaceInfo</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.interface_info_get_prerequisite</title> -<p>Obtain an interface type prerequisites index @n.</p><p>g_base_info_unref() when done.</p></page> + <title>interface_info_get_prerequisite</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.InterfaceInfo, gint) +@returns(GIRepository.BaseInfo) +def interface_info_get_prerequisite(info, n) +</code></synopsis> +<p>Obtain an interface type prerequisites index @n.</p><p>g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_property.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_property.page index 81ba56b9..e65038e4 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_property.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_property.page @@ -1,11 +1,33 @@ <?xml version="1.0"?> + <page id="GIRepository.interface_info_get_property" 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.PropertyInfo</api:type> + </api:returns> + <api:name>g_interface_info_get_property</api:name> + <api:arg> + <api:type>GIRepository.InterfaceInfo</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.interface_info_get_property</title> -<p>Obtain an interface type property at index @n.</p><p>g_base_info_unref() when done.</p></page> + <title>interface_info_get_property</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.InterfaceInfo, gint) +@returns(GIRepository.PropertyInfo) +def interface_info_get_property(info, n) +</code></synopsis> +<p>Obtain an interface type property at index @n.</p><p>g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_signal.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_signal.page index 08e6b259..7fd1e831 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_signal.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_signal.page @@ -1,11 +1,33 @@ <?xml version="1.0"?> + <page id="GIRepository.interface_info_get_signal" 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.SignalInfo</api:type> + </api:returns> + <api:name>g_interface_info_get_signal</api:name> + <api:arg> + <api:type>GIRepository.InterfaceInfo</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.interface_info_get_signal</title> -<p>Obtain an interface type signal at index @n.</p><p>g_base_info_unref() when done.</p></page> + <title>interface_info_get_signal</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.InterfaceInfo, gint) +@returns(GIRepository.SignalInfo) +def interface_info_get_signal(info, n) +</code></synopsis> +<p>Obtain an interface type signal at index @n.</p><p>g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_vfunc.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_vfunc.page index 1ad94ab8..db127aba 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_vfunc.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.interface_info_get_vfunc.page @@ -1,11 +1,33 @@ <?xml version="1.0"?> + <page id="GIRepository.interface_info_get_vfunc" 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.VFuncInfo</api:type> + </api:returns> + <api:name>g_interface_info_get_vfunc</api:name> + <api:arg> + <api:type>GIRepository.InterfaceInfo</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.interface_info_get_vfunc</title> -<p>Obtain an interface type virtual function at index @n.</p><p>g_base_info_unref() when done.</p></page> + <title>interface_info_get_vfunc</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.InterfaceInfo, gint) +@returns(GIRepository.VFuncInfo) +def interface_info_get_vfunc(info, n) +</code></synopsis> +<p>Obtain an interface type virtual function at index @n.</p><p>g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.invoke_error_quark.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.invoke_error_quark.page index f7b9ba06..0aef28d5 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.invoke_error_quark.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.invoke_error_quark.page @@ -1,11 +1,24 @@ <?xml version="1.0"?> + <page id="GIRepository.invoke_error_quark" 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>GLib.Quark</api:type> + </api:returns> + <api:name>g_invoke_error_quark</api:name> + </api:function> </info> - <title>GIRepository.invoke_error_quark</title> + <title>invoke_error_quark</title> +<synopsis><code mime="text/x-python"> +@returns(GLib.Quark) +def invoke_error_quark() +</code></synopsis> + </page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.nvokeError.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.nvokeError.page index e71aca50..3b3fec40 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.nvokeError.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.nvokeError.page @@ -8,4 +8,5 @@ </info> <title>GIRepository.nvokeError</title> <p>An error occuring while invoking a function via -g_function_info_invoke().</p></page> +g_function_info_invoke().</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_method.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_method.page index b2274937..51625a2c 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_method.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_method.page @@ -1,12 +1,34 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_find_method" 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.FunctionInfo</api:type> + </api:returns> + <api:name>g_object_info_find_method</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</api:type> + <api:name>info</api:name> + </api:arg> + <api:arg> + <api:type>utf8</api:type> + <api:name>name</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.object_info_find_method</title> + <title>object_info_find_method</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo, utf8) +@returns(GIRepository.FunctionInfo) +def object_info_find_method(info, name) +</code></synopsis> <p>Obtain a method of the object type given a @name. %NULL will be -returned if there's no method available with that name.</p><p>g_base_info_unref() when done.</p></page> +returned if there's no method available with that name.</p><p>g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_method_using_interfaces.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_method_using_interfaces.page index c1122518..d3dca9fc 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_method_using_interfaces.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_method_using_interfaces.page @@ -1,14 +1,40 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_find_method_using_interfaces" 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.FunctionInfo</api:type> + </api:returns> + <api:name>g_object_info_find_method_using_interfaces</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</api:type> + <api:name>info</api:name> + </api:arg> + <api:arg> + <api:type>utf8</api:type> + <api:name>name</api:name> + </api:arg> + <api:arg> + <api:type>GIRepository.ObjectInfo</api:type> + <api:name>implementor</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.object_info_find_method_using_interfaces</title> + <title>object_info_find_method_using_interfaces</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo, utf8, GIRepository.ObjectInfo) +@returns(GIRepository.FunctionInfo) +def object_info_find_method_using_interfaces(info, name, implementor) +</code></synopsis> <p>Obtain a method of the object given a @name, searching both the object @info and any interfaces it implements. %NULL will be returned if there's no method available with that name.</p><p>Note that this function does *not* search parent classes; you will have -to chain up if that's desired.</p><p>g_base_info_unref() when done.</p></page> +to chain up if that's desired.</p><p>g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_signal.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_signal.page index 89a8e1a4..192e2ef1 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_signal.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_signal.page @@ -1,11 +1,33 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_find_signal" 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.SignalInfo</api:type> + </api:returns> + <api:name>g_object_info_find_signal</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</api:type> + <api:name>info</api:name> + </api:arg> + <api:arg> + <api:type>utf8</api:type> + <api:name>name</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.object_info_find_signal</title> + <title>object_info_find_signal</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo, utf8) +@returns(GIRepository.SignalInfo) +def object_info_find_signal(info, name) +</code></synopsis> + </page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_vfunc.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_vfunc.page index e041085e..6777687c 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_vfunc.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_find_vfunc.page @@ -1,17 +1,39 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_find_vfunc" 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.VFuncInfo</api:type> + </api:returns> + <api:name>g_object_info_find_vfunc</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</api:type> + <api:name>info</api:name> + </api:arg> + <api:arg> + <api:type>utf8</api:type> + <api:name>name</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.object_info_find_vfunc</title> + <title>object_info_find_vfunc</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo, utf8) +@returns(GIRepository.VFuncInfo) +def object_info_find_vfunc(info, name) +</code></synopsis> <p>Locate a virtual function slot with name @name. Note that the namespace for virtuals is distinct from that of methods; there may or may not be a concrete method associated for a virtual. If there is one, it may be retrieved using g_vfunc_info_get_invoker(), otherwise %NULL will be returned. See the documentation for g_vfunc_info_get_invoker() for more -information on invoking virtuals.</p><p>g_base_info_unref() when done.</p></page> +information on invoking virtuals.</p><p>g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_abstract.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_abstract.page index 620ce4ef..065c388f 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_abstract.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_abstract.page @@ -1,12 +1,30 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_get_abstract" 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_object_info_get_abstract</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.object_info_get_abstract</title> + <title>object_info_get_abstract</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo) +@returns(gboolean) +def object_info_get_abstract(info) +</code></synopsis> <p>Obtain if the object type is an abstract type, eg if it cannot be -instantiated</p></page> +instantiated</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_class_struct.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_class_struct.page index a4f8d78e..f1024907 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_class_struct.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_class_struct.page @@ -1,12 +1,30 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_get_class_struct" 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.StructInfo</api:type> + </api:returns> + <api:name>g_object_info_get_class_struct</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.object_info_get_class_struct</title> + <title>object_info_get_class_struct</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo) +@returns(GIRepository.StructInfo) +def object_info_get_class_struct(info) +</code></synopsis> <p>Every <link xref="GObject">GObject</link> has two structures; an instance structure and a class -structure. This function returns the metadata for the class structure.</p><p>g_base_info_unref() when done.</p></page> +structure. This function returns the metadata for the class structure.</p><p>g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_constant.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_constant.page index 23e9627e..ca6cccc5 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_constant.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_constant.page @@ -1,11 +1,33 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_get_constant" 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_object_info_get_constant</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</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.object_info_get_constant</title> -<p>Obtain an object type constant at index @n.</p><p>g_base_info_unref() when done.</p></page> + <title>object_info_get_constant</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo, gint) +@returns(GIRepository.ConstantInfo) +def object_info_get_constant(info, n) +</code></synopsis> +<p>Obtain an object type constant at index @n.</p><p>g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_field.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_field.page index 0262989a..e0f7f33d 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_field.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_field.page @@ -1,11 +1,33 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_get_field" 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.FieldInfo</api:type> + </api:returns> + <api:name>g_object_info_get_field</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</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.object_info_get_field</title> -<p>Obtain an object type field at index @n.</p><p>g_base_info_unref() when done.</p></page> + <title>object_info_get_field</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo, gint) +@returns(GIRepository.FieldInfo) +def object_info_get_field(info, n) +</code></synopsis> +<p>Obtain an object type field at index @n.</p><p>g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_fundamental.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_fundamental.page index 746f7dca..dabc223b 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_fundamental.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_fundamental.page @@ -1,12 +1,30 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_get_fundamental" 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_object_info_get_fundamental</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.object_info_get_fundamental</title> + <title>object_info_get_fundamental</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo) +@returns(gboolean) +def object_info_get_fundamental(info) +</code></synopsis> <p>Obtain if the object type is of a fundamental type which is not -G_TYPE_OBJECT. This is mostly for supporting GstMiniObject.</p></page> +G_TYPE_OBJECT. This is mostly for supporting GstMiniObject.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_get_value_function.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_get_value_function.page index 72cdad82..cca3674b 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_get_value_function.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_get_value_function.page @@ -1,15 +1,33 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_get_get_value_function" 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>utf8</api:type> + </api:returns> + <api:name>g_object_info_get_get_value_function</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.object_info_get_get_value_function</title> + <title>object_info_get_get_value_function</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo) +@returns(utf8) +def object_info_get_get_value_function(info) +</code></synopsis> <p>Obtain the symbol name of the function that should be called to convert an object instance pointer of this object type to a GValue. I's mainly used fundamental types. The type signature for the symbol is %GIObjectInfoGetValueFunction, to fetch the function pointer -see g_object_info_get_get_value_function().</p></page> +see g_object_info_get_get_value_function().</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_get_value_function_pointer.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_get_value_function_pointer.page index e464cd60..26f1fa2e 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_get_value_function_pointer.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_get_value_function_pointer.page @@ -1,14 +1,32 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_get_get_value_function_pointer" 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.ObjectInfoGetValueFunction</api:type> + </api:returns> + <api:name>g_object_info_get_get_value_function_pointer</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.object_info_get_get_value_function_pointer</title> + <title>object_info_get_get_value_function_pointer</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo) +@returns(GIRepository.ObjectInfoGetValueFunction) +def object_info_get_get_value_function_pointer(info) +</code></synopsis> <p>Obtain a pointer to a function which can be used to extract an instance of this object type out of a GValue. This takes derivation into account and will reversely traverse -the base classes of this type, starting at the top type.</p></page> +the base classes of this type, starting at the top type.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_interface.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_interface.page index 5f337a0b..44059545 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_interface.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_interface.page @@ -1,11 +1,33 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_get_interface" 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.InterfaceInfo</api:type> + </api:returns> + <api:name>g_object_info_get_interface</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</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.object_info_get_interface</title> -<p>Obtain an object type interface at index @n.</p><p>g_base_info_unref() when done.</p></page> + <title>object_info_get_interface</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo, gint) +@returns(GIRepository.InterfaceInfo) +def object_info_get_interface(info, n) +</code></synopsis> +<p>Obtain an object type interface at index @n.</p><p>g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_method.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_method.page index db6a2cb6..61c24fca 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_method.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_method.page @@ -1,11 +1,33 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_get_method" 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.FunctionInfo</api:type> + </api:returns> + <api:name>g_object_info_get_method</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</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.object_info_get_method</title> -<p>Obtain an object type method at index @n.</p><p>g_base_info_unref() when done.</p></page> + <title>object_info_get_method</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo, gint) +@returns(GIRepository.FunctionInfo) +def object_info_get_method(info, n) +</code></synopsis> +<p>Obtain an object type method at index @n.</p><p>g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_constants.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_constants.page index 970ea9d9..e2119ce0 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_constants.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_constants.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_get_n_constants" 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>gint</api:type> + </api:returns> + <api:name>g_object_info_get_n_constants</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.object_info_get_n_constants</title> -<p>Obtain the number of constants that this object type has.</p></page> + <title>object_info_get_n_constants</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo) +@returns(gint) +def object_info_get_n_constants(info) +</code></synopsis> +<p>Obtain the number of constants that this object type has.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_fields.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_fields.page index 87d5467c..e10d3358 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_fields.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_fields.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_get_n_fields" 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>gint</api:type> + </api:returns> + <api:name>g_object_info_get_n_fields</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.object_info_get_n_fields</title> -<p>Obtain the number of fields that this object type has.</p></page> + <title>object_info_get_n_fields</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo) +@returns(gint) +def object_info_get_n_fields(info) +</code></synopsis> +<p>Obtain the number of fields that this object type has.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_interfaces.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_interfaces.page index dc5c351e..c977c6de 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_interfaces.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_interfaces.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_get_n_interfaces" 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>gint</api:type> + </api:returns> + <api:name>g_object_info_get_n_interfaces</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.object_info_get_n_interfaces</title> -<p>Obtain the number of interfaces that this object type has.</p></page> + <title>object_info_get_n_interfaces</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo) +@returns(gint) +def object_info_get_n_interfaces(info) +</code></synopsis> +<p>Obtain the number of interfaces that this object type has.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_methods.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_methods.page index 5e927614..172ec77e 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_methods.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_methods.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_get_n_methods" 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>gint</api:type> + </api:returns> + <api:name>g_object_info_get_n_methods</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.object_info_get_n_methods</title> -<p>Obtain the number of methods that this object type has.</p></page> + <title>object_info_get_n_methods</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo) +@returns(gint) +def object_info_get_n_methods(info) +</code></synopsis> +<p>Obtain the number of methods that this object type has.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_properties.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_properties.page index 872d7574..7a7f707a 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_properties.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_properties.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_get_n_properties" 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>gint</api:type> + </api:returns> + <api:name>g_object_info_get_n_properties</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.object_info_get_n_properties</title> -<p>Obtain the number of properties that this object type has.</p></page> + <title>object_info_get_n_properties</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo) +@returns(gint) +def object_info_get_n_properties(info) +</code></synopsis> +<p>Obtain the number of properties that this object type has.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_signals.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_signals.page index 6f90d219..1c89d197 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_signals.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_signals.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_get_n_signals" 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>gint</api:type> + </api:returns> + <api:name>g_object_info_get_n_signals</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.object_info_get_n_signals</title> -<p>Obtain the number of signals that this object type has.</p></page> + <title>object_info_get_n_signals</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo) +@returns(gint) +def object_info_get_n_signals(info) +</code></synopsis> +<p>Obtain the number of signals that this object type has.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_vfuncs.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_vfuncs.page index d6a954ab..f5c9429a 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_vfuncs.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_n_vfuncs.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_get_n_vfuncs" 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>gint</api:type> + </api:returns> + <api:name>g_object_info_get_n_vfuncs</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.object_info_get_n_vfuncs</title> -<p>Obtain the number of virtual functions that this object type has.</p></page> + <title>object_info_get_n_vfuncs</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo) +@returns(gint) +def object_info_get_n_vfuncs(info) +</code></synopsis> +<p>Obtain the number of virtual functions that this object type has.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_parent.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_parent.page index 6c16b661..d9f56a5e 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_parent.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_parent.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_get_parent" 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.ObjectInfo</api:type> + </api:returns> + <api:name>g_object_info_get_parent</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.object_info_get_parent</title> -<p>Obtain the parent of the object type.</p><p>g_base_info_unref() when done.</p></page> + <title>object_info_get_parent</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo) +@returns(GIRepository.ObjectInfo) +def object_info_get_parent(info) +</code></synopsis> +<p>Obtain the parent of the object type.</p><p>g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_property.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_property.page index 96ca5f79..90b16174 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_property.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_property.page @@ -1,11 +1,33 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_get_property" 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.PropertyInfo</api:type> + </api:returns> + <api:name>g_object_info_get_property</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</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.object_info_get_property</title> -<p>Obtain an object type property at index @n.</p><p>g_base_info_unref() when done.</p></page> + <title>object_info_get_property</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo, gint) +@returns(GIRepository.PropertyInfo) +def object_info_get_property(info, n) +</code></synopsis> +<p>Obtain an object type property at index @n.</p><p>g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_ref_function.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_ref_function.page index 1c795d12..aefdaf29 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_ref_function.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_ref_function.page @@ -1,14 +1,32 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_get_ref_function" 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>utf8</api:type> + </api:returns> + <api:name>g_object_info_get_ref_function</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.object_info_get_ref_function</title> + <title>object_info_get_ref_function</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo) +@returns(utf8) +def object_info_get_ref_function(info) +</code></synopsis> <p>Obtain the symbol name of the function that should be called to ref this object type. It's mainly used fundamental types. The type signature for the symbol is %GIObjectInfoRefFunction, to fetch the function pointer -see g_object_info_get_ref_function().</p></page> +see g_object_info_get_ref_function().</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_ref_function_pointer.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_ref_function_pointer.page index f99782a7..72f9742e 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_ref_function_pointer.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_ref_function_pointer.page @@ -1,14 +1,32 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_get_ref_function_pointer" 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.ObjectInfoRefFunction</api:type> + </api:returns> + <api:name>g_object_info_get_ref_function_pointer</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.object_info_get_ref_function_pointer</title> + <title>object_info_get_ref_function_pointer</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo) +@returns(GIRepository.ObjectInfoRefFunction) +def object_info_get_ref_function_pointer(info) +</code></synopsis> <p>Obtain a pointer to a function which can be used to increase the reference count an instance of this object type. This takes derivation into account and will reversely traverse -the base classes of this type, starting at the top type.</p></page> +the base classes of this type, starting at the top type.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_set_value_function.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_set_value_function.page index d37bf2d5..ccfbc29f 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_set_value_function.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_set_value_function.page @@ -1,15 +1,33 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_get_set_value_function" 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>utf8</api:type> + </api:returns> + <api:name>g_object_info_get_set_value_function</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.object_info_get_set_value_function</title> + <title>object_info_get_set_value_function</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo) +@returns(utf8) +def object_info_get_set_value_function(info) +</code></synopsis> <p>Obtain the symbol name of the function that should be called to convert set a GValue giving an object instance pointer of this object type. I's mainly used fundamental types. The type signature for the symbol is %GIObjectInfoSetValueFunction, to fetch the function pointer -see g_object_info_get_set_value_function().</p></page> +see g_object_info_get_set_value_function().</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_set_value_function_pointer.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_set_value_function_pointer.page index 1141c31a..f76f99fe 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_set_value_function_pointer.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_set_value_function_pointer.page @@ -1,14 +1,32 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_get_set_value_function_pointer" 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.ObjectInfoSetValueFunction</api:type> + </api:returns> + <api:name>g_object_info_get_set_value_function_pointer</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.object_info_get_set_value_function_pointer</title> + <title>object_info_get_set_value_function_pointer</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo) +@returns(GIRepository.ObjectInfoSetValueFunction) +def object_info_get_set_value_function_pointer(info) +</code></synopsis> <p>Obtain a pointer to a function which can be used to set a GValue given an instance of this object type. This takes derivation into account and will reversely traverse -the base classes of this type, starting at the top type.</p></page> +the base classes of this type, starting at the top type.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_signal.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_signal.page index 90ba5f61..a6c5ad89 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_signal.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_signal.page @@ -1,11 +1,33 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_get_signal" 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.SignalInfo</api:type> + </api:returns> + <api:name>g_object_info_get_signal</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</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.object_info_get_signal</title> -<p>Obtain an object type signal at index @n.</p><p>g_base_info_unref() when done.</p></page> + <title>object_info_get_signal</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo, gint) +@returns(GIRepository.SignalInfo) +def object_info_get_signal(info, n) +</code></synopsis> +<p>Obtain an object type signal at index @n.</p><p>g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_type_init.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_type_init.page index dc6fa951..cb310294 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_type_init.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_type_init.page @@ -1,12 +1,30 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_get_type_init" 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>utf8</api:type> + </api:returns> + <api:name>g_object_info_get_type_init</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.object_info_get_type_init</title> + <title>object_info_get_type_init</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo) +@returns(utf8) +def object_info_get_type_init(info) +</code></synopsis> <p>Obtain the function which when called will return the GType -function for which this object type is registered.</p></page> +function for which this object type is registered.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_type_name.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_type_name.page index bff23d2a..e0178888 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_type_name.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_type_name.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_get_type_name" 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>utf8</api:type> + </api:returns> + <api:name>g_object_info_get_type_name</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.object_info_get_type_name</title> -<p>Obtain the name of the objects class/type.</p></page> + <title>object_info_get_type_name</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo) +@returns(utf8) +def object_info_get_type_name(info) +</code></synopsis> +<p>Obtain the name of the objects class/type.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_unref_function.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_unref_function.page index 1829c346..c5f94e7e 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_unref_function.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_unref_function.page @@ -1,14 +1,32 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_get_unref_function" 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>utf8</api:type> + </api:returns> + <api:name>g_object_info_get_unref_function</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.object_info_get_unref_function</title> + <title>object_info_get_unref_function</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo) +@returns(utf8) +def object_info_get_unref_function(info) +</code></synopsis> <p>Obtain the symbol name of the function that should be called to unref this object type. It's mainly used fundamental types. The type signature for the symbol is %GIObjectInfoUnrefFunction, to fetch the function pointer -see g_object_info_get_unref_function().</p></page> +see g_object_info_get_unref_function().</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_unref_function_pointer.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_unref_function_pointer.page index 35811aff..f08875b4 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_unref_function_pointer.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_unref_function_pointer.page @@ -1,14 +1,32 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_get_unref_function_pointer" 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.ObjectInfoUnrefFunction</api:type> + </api:returns> + <api:name>g_object_info_get_unref_function_pointer</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.object_info_get_unref_function_pointer</title> + <title>object_info_get_unref_function_pointer</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo) +@returns(GIRepository.ObjectInfoUnrefFunction) +def object_info_get_unref_function_pointer(info) +</code></synopsis> <p>Obtain a pointer to a function which can be used to decrease the reference count an instance of this object type. This takes derivation into account and will reversely traverse -the base classes of this type, starting at the top type.</p></page> +the base classes of this type, starting at the top type.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_vfunc.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_vfunc.page index a190fe14..01e4c725 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_vfunc.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.object_info_get_vfunc.page @@ -1,11 +1,33 @@ <?xml version="1.0"?> + <page id="GIRepository.object_info_get_vfunc" 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.VFuncInfo</api:type> + </api:returns> + <api:name>g_object_info_get_vfunc</api:name> + <api:arg> + <api:type>GIRepository.ObjectInfo</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.object_info_get_vfunc</title> -<p>Obtain an object type virtual function at index @n.</p><p>g_base_info_unref() when done.</p></page> + <title>object_info_get_vfunc</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ObjectInfo, gint) +@returns(GIRepository.VFuncInfo) +def object_info_get_vfunc(info, n) +</code></synopsis> +<p>Obtain an object type virtual function at index @n.</p><p>g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_flags.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_flags.page index 3ce24b0c..10a62ead 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_flags.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_flags.page @@ -1,12 +1,30 @@ <?xml version="1.0"?> + <page id="GIRepository.property_info_get_flags" 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>GObject.ParamFlags</api:type> + </api:returns> + <api:name>g_property_info_get_flags</api:name> + <api:arg> + <api:type>GIRepository.PropertyInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.property_info_get_flags</title> + <title>property_info_get_flags</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.PropertyInfo) +@returns(GObject.ParamFlags) +def property_info_get_flags(info) +</code></synopsis> <p>Obtain the flags for this property info. See <link xref="GParamFags">GParamFags</link> for -more information about possible flag values.</p></page> +more information about possible flag values.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_ownership_transfer.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_ownership_transfer.page index a4ff311a..1ffbbb11 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_ownership_transfer.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_ownership_transfer.page @@ -1,12 +1,30 @@ <?xml version="1.0"?> + <page id="GIRepository.property_info_get_ownership_transfer" 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.Transfer</api:type> + </api:returns> + <api:name>g_property_info_get_ownership_transfer</api:name> + <api:arg> + <api:type>GIRepository.PropertyInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.property_info_get_ownership_transfer</title> + <title>property_info_get_ownership_transfer</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.PropertyInfo) +@returns(GIRepository.Transfer) +def property_info_get_ownership_transfer(info) +</code></synopsis> <p>Obtain the ownership transfer for this property. See <link xref="GITransfer">GITransfer</link> for more -information about transfer values.</p></page> +information about transfer values.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_type.page index 73d57a7e..e067321d 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_type.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.property_info_get_type.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.property_info_get_type" 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.TypeInfo</api:type> + </api:returns> + <api:name>g_property_info_get_type</api:name> + <api:arg> + <api:type>GIRepository.PropertyInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.property_info_get_type</title> -<p>Obtain the type information for the property @info.</p><p>g_base_info_unref() when done.</p></page> + <title>property_info_get_type</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.PropertyInfo) +@returns(GIRepository.TypeInfo) +def property_info_get_type(info) +</code></synopsis> +<p>Obtain the type information for the property @info.</p><p>g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_g_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_g_type.page index a2871e02..8d561a6b 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_g_type.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_g_type.page @@ -1,14 +1,32 @@ <?xml version="1.0"?> + <page id="GIRepository.registered_type_info_get_g_type" 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>GType</api:type> + </api:returns> + <api:name>g_registered_type_info_get_g_type</api:name> + <api:arg> + <api:type>GIRepository.RegisteredTypeInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.registered_type_info_get_g_type</title> + <title>registered_type_info_get_g_type</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.RegisteredTypeInfo) +@returns(GType) +def registered_type_info_get_g_type(info) +</code></synopsis> <p>Obtain the <link xref="GType">GType</link> for this registered type or G_TYPE_NONE which a special meaning. It means that either there is no type information associated with this @info or that the shared library which provides the type_init function for this -@info cannot be called.</p></page> +@info cannot be called.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_type_init.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_type_init.page index 805d7c29..bcb33a1d 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_type_init.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_type_init.page @@ -1,14 +1,32 @@ <?xml version="1.0"?> + <page id="GIRepository.registered_type_info_get_type_init" 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>utf8</api:type> + </api:returns> + <api:name>g_registered_type_info_get_type_init</api:name> + <api:arg> + <api:type>GIRepository.RegisteredTypeInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.registered_type_info_get_type_init</title> + <title>registered_type_info_get_type_init</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.RegisteredTypeInfo) +@returns(utf8) +def registered_type_info_get_type_init(info) +</code></synopsis> <p>Obtain the type init function for @info. The type init function is the function which will register the GType within the GObject type system. Usually this is not called by langauge bindings or applications, use -g_registered_type_info_get_g_type() directly instead.</p><p>passing into g_module_symbol().</p></page> +g_registered_type_info_get_g_type() directly instead.</p><p>passing into g_module_symbol().</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_type_name.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_type_name.page index cf2e7068..65e71f50 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_type_name.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.registered_type_info_get_type_name.page @@ -1,12 +1,30 @@ <?xml version="1.0"?> + <page id="GIRepository.registered_type_info_get_type_name" 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>utf8</api:type> + </api:returns> + <api:name>g_registered_type_info_get_type_name</api:name> + <api:arg> + <api:type>GIRepository.RegisteredTypeInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.registered_type_info_get_type_name</title> + <title>registered_type_info_get_type_name</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.RegisteredTypeInfo) +@returns(utf8) +def registered_type_info_get_type_name(info) +</code></synopsis> <p>Obtain the type name of the struct within the GObject type system. -This type can be passed to g_type_name() to get a <link xref="GType">GType</link>.</p></page> +This type can be passed to g_type_name() to get a <link xref="GType">GType</link>.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_get_class_closure.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_get_class_closure.page index 37170c06..3bfe7fe9 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_get_class_closure.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_get_class_closure.page @@ -1,13 +1,31 @@ <?xml version="1.0"?> + <page id="GIRepository.signal_info_get_class_closure" 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.VFuncInfo</api:type> + </api:returns> + <api:name>g_signal_info_get_class_closure</api:name> + <api:arg> + <api:type>GIRepository.SignalInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.signal_info_get_class_closure</title> + <title>signal_info_get_class_closure</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.SignalInfo) +@returns(GIRepository.VFuncInfo) +def signal_info_get_class_closure(info) +</code></synopsis> <p>Obtain the class closure for this signal if one is set. The class closure is a virtual function on the type that the signal belongs to. -If the signal lacks a closure %NULL will be returned.</p></page> +If the signal lacks a closure %NULL will be returned.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_get_flags.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_get_flags.page index d54aee44..db3b832b 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_get_flags.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_get_flags.page @@ -1,12 +1,30 @@ <?xml version="1.0"?> + <page id="GIRepository.signal_info_get_flags" 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>GObject.SignalFlags</api:type> + </api:returns> + <api:name>g_signal_info_get_flags</api:name> + <api:arg> + <api:type>GIRepository.SignalInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.signal_info_get_flags</title> + <title>signal_info_get_flags</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.SignalInfo) +@returns(GObject.SignalFlags) +def signal_info_get_flags(info) +</code></synopsis> <p>Obtain the flags for this signal info. See <link xref="GSignalFlags">GSignalFlags</link> for -more information about possible flag values.</p></page> +more information about possible flag values.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_true_stops_emit.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_true_stops_emit.page index 7c4faabf..7a6bb2af 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_true_stops_emit.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.signal_info_true_stops_emit.page @@ -1,12 +1,30 @@ <?xml version="1.0"?> + <page id="GIRepository.signal_info_true_stops_emit" 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_signal_info_true_stops_emit</api:name> + <api:arg> + <api:type>GIRepository.SignalInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.signal_info_true_stops_emit</title> + <title>signal_info_true_stops_emit</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.SignalInfo) +@returns(gboolean) +def signal_info_true_stops_emit(info) +</code></synopsis> <p>Obtain if the returning true in the signal handler will -stop the emission of the signal.</p></page> +stop the emission of the signal.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_find_method.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_find_method.page index 5a9a875b..6795d9c8 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_find_method.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_find_method.page @@ -1,11 +1,33 @@ <?xml version="1.0"?> + <page id="GIRepository.struct_info_find_method" 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.FunctionInfo</api:type> + </api:returns> + <api:name>g_struct_info_find_method</api:name> + <api:arg> + <api:type>GIRepository.StructInfo</api:type> + <api:name>info</api:name> + </api:arg> + <api:arg> + <api:type>utf8</api:type> + <api:name>name</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.struct_info_find_method</title> -<p>Obtain the type information for method named @name.</p><p>when done.</p></page> + <title>struct_info_find_method</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.StructInfo, utf8) +@returns(GIRepository.FunctionInfo) +def struct_info_find_method(info, name) +</code></synopsis> +<p>Obtain the type information for method named @name.</p><p>when done.</p> +</page> 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..b33372c1 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,29 @@ <?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> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_field.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_field.page index 8d070049..f8cf5a79 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_field.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_field.page @@ -1,11 +1,33 @@ <?xml version="1.0"?> + <page id="GIRepository.struct_info_get_field" 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.FieldInfo</api:type> + </api:returns> + <api:name>g_struct_info_get_field</api:name> + <api:arg> + <api:type>GIRepository.StructInfo</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.struct_info_get_field</title> -<p>Obtain the type information for field with specified index.</p><p>when done.</p></page> + <title>struct_info_get_field</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.StructInfo, gint) +@returns(GIRepository.FieldInfo) +def struct_info_get_field(info, n) +</code></synopsis> +<p>Obtain the type information for field with specified index.</p><p>when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_method.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_method.page index 2664e57f..5b448502 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_method.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_method.page @@ -1,11 +1,33 @@ <?xml version="1.0"?> + <page id="GIRepository.struct_info_get_method" 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.FunctionInfo</api:type> + </api:returns> + <api:name>g_struct_info_get_method</api:name> + <api:arg> + <api:type>GIRepository.StructInfo</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.struct_info_get_method</title> -<p>Obtain the type information for method with specified index.</p><p>when done.</p></page> + <title>struct_info_get_method</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.StructInfo, gint) +@returns(GIRepository.FunctionInfo) +def struct_info_get_method(info, n) +</code></synopsis> +<p>Obtain the type information for method with specified index.</p><p>when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_fields.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_fields.page index b9cb4637..1b9e9a31 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_fields.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_fields.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.struct_info_get_n_fields" 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>gint</api:type> + </api:returns> + <api:name>g_struct_info_get_n_fields</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_n_fields</title> -<p>Obtain the number of fields this structure has.</p></page> + <title>struct_info_get_n_fields</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.StructInfo) +@returns(gint) +def struct_info_get_n_fields(info) +</code></synopsis> +<p>Obtain the number of fields this structure has.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_methods.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_methods.page index 8c807982..a0c7208d 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_methods.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_n_methods.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.struct_info_get_n_methods" 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>gint</api:type> + </api:returns> + <api:name>g_struct_info_get_n_methods</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_n_methods</title> -<p>Obtain the number of methods this structure has.</p></page> + <title>struct_info_get_n_methods</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.StructInfo) +@returns(gint) +def struct_info_get_n_methods(info) +</code></synopsis> +<p>Obtain the number of methods this structure has.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_size.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_size.page index 28fdd9cc..e798316a 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_size.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_get_size.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.struct_info_get_size" 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_size</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_size</title> -<p>Obtain the total size of the structure.</p></page> + <title>struct_info_get_size</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.StructInfo) +@returns(gsize) +def struct_info_get_size(info) +</code></synopsis> +<p>Obtain the total size of the structure.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_is_foreign.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_is_foreign.page index 1e09a1e0..6b118c5a 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_is_foreign.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_is_foreign.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.struct_info_is_foreign" 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_struct_info_is_foreign</api:name> + <api:arg> + <api:type>GIRepository.StructInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.struct_info_is_foreign</title> + <title>struct_info_is_foreign</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.StructInfo) +@returns(gboolean) +def struct_info_is_foreign(info) +</code></synopsis> + </page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_is_gtype_struct.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_is_gtype_struct.page index 01e52ef5..9f833cb5 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_is_gtype_struct.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.struct_info_is_gtype_struct.page @@ -1,13 +1,31 @@ <?xml version="1.0"?> + <page id="GIRepository.struct_info_is_gtype_struct" 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_struct_info_is_gtype_struct</api:name> + <api:arg> + <api:type>GIRepository.StructInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.struct_info_is_gtype_struct</title> + <title>struct_info_is_gtype_struct</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.StructInfo) +@returns(gboolean) +def struct_info_is_gtype_struct(info) +</code></synopsis> <p>Return true if this structure represents the "class structure" for some <link xref="GObject">GObject</link> or <link xref="GInterface">GInterface</link>. This function is mainly useful to hide this kind of structure -from generated public APIs.</p></page> +from generated public APIs.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_fixed_size.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_fixed_size.page index 9e5297cc..7559d10a 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_fixed_size.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_fixed_size.page @@ -1,12 +1,30 @@ <?xml version="1.0"?> + <page id="GIRepository.type_info_get_array_fixed_size" 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>gint</api:type> + </api:returns> + <api:name>g_type_info_get_array_fixed_size</api:name> + <api:arg> + <api:type>GIRepository.TypeInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.type_info_get_array_fixed_size</title> + <title>type_info_get_array_fixed_size</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.TypeInfo) +@returns(gint) +def type_info_get_array_fixed_size(info) +</code></synopsis> <p>Obtain the fixed array size of the type. The type tag must be a -<link xref="GI_TYPE_TAG_ARRAY">GI_TYPE_TAG_ARRAY</link> or -1 will returned.</p></page> +<link xref="GI_TYPE_TAG_ARRAY">GI_TYPE_TAG_ARRAY</link> or -1 will returned.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_length.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_length.page index 94cec6ee..ea040328 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_length.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_length.page @@ -1,12 +1,30 @@ <?xml version="1.0"?> + <page id="GIRepository.type_info_get_array_length" 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>gint</api:type> + </api:returns> + <api:name>g_type_info_get_array_length</api:name> + <api:arg> + <api:type>GIRepository.TypeInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.type_info_get_array_length</title> + <title>type_info_get_array_length</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.TypeInfo) +@returns(gint) +def type_info_get_array_length(info) +</code></synopsis> <p>Obtain the array length of the type. The type tag must be a -<link xref="GI_TYPE_TAG_ARRAY">GI_TYPE_TAG_ARRAY</link> or -1 will returned.</p></page> +<link xref="GI_TYPE_TAG_ARRAY">GI_TYPE_TAG_ARRAY</link> or -1 will returned.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_type.page index a8fb76e4..86b7d0fe 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_type.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_array_type.page @@ -1,13 +1,31 @@ <?xml version="1.0"?> + <page id="GIRepository.type_info_get_array_type" 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.ArrayType</api:type> + </api:returns> + <api:name>g_type_info_get_array_type</api:name> + <api:arg> + <api:type>GIRepository.TypeInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.type_info_get_array_type</title> + <title>type_info_get_array_type</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.TypeInfo) +@returns(GIRepository.ArrayType) +def type_info_get_array_type(info) +</code></synopsis> <p>Obtain the array type for this type. See <link xref="GIArrayType">GIArrayType</link> for a list of possible values. If the type tag of this type is not array, -1 will be -returned.</p></page> +returned.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_interface.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_interface.page index 63b19149..7390a6d2 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_interface.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_interface.page @@ -1,14 +1,32 @@ <?xml version="1.0"?> + <page id="GIRepository.type_info_get_interface" 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.BaseInfo</api:type> + </api:returns> + <api:name>g_type_info_get_interface</api:name> + <api:arg> + <api:type>GIRepository.TypeInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.type_info_get_interface</title> + <title>type_info_get_interface</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.TypeInfo) +@returns(GIRepository.BaseInfo) +def type_info_get_interface(info) +</code></synopsis> <p>For types which have <link xref="GI_TYPE_TAG_INTERFACE">GI_TYPE_TAG_INTERFACE</link> such as GObjects and boxed values, this function returns full information about the referenced type. You can then inspect the type of the returned <link xref="GIBaseInfo">GIBaseInfo</link> to further query whether it is -a concrete GObject, a GInterface, a structure, etc. using g_base_info_get_type().</p><p>g_base_info_unref() when done.</p></page> +a concrete GObject, a GInterface, a structure, etc. using g_base_info_get_type().</p><p>g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_param_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_param_type.page index 1cc7d67a..d61c382a 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_param_type.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_param_type.page @@ -1,11 +1,33 @@ <?xml version="1.0"?> + <page id="GIRepository.type_info_get_param_type" 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.TypeInfo</api:type> + </api:returns> + <api:name>g_type_info_get_param_type</api:name> + <api:arg> + <api:type>GIRepository.TypeInfo</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.type_info_get_param_type</title> -<p>Obtain the parameter type @n.</p></page> + <title>type_info_get_param_type</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.TypeInfo, gint) +@returns(GIRepository.TypeInfo) +def type_info_get_param_type(info, n) +</code></synopsis> +<p>Obtain the parameter type @n.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_tag.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_tag.page index 73baf7a4..8c18a457 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_tag.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_get_tag.page @@ -1,12 +1,30 @@ <?xml version="1.0"?> + <page id="GIRepository.type_info_get_tag" 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.TypeTag</api:type> + </api:returns> + <api:name>g_type_info_get_tag</api:name> + <api:arg> + <api:type>GIRepository.TypeInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.type_info_get_tag</title> + <title>type_info_get_tag</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.TypeInfo) +@returns(GIRepository.TypeTag) +def type_info_get_tag(info) +</code></synopsis> <p>Obtain the type tag for the type. See <link xref="GITypeTag">GITypeTag</link> for a list -of type tags.</p></page> +of type tags.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_is_pointer.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_is_pointer.page index ddc7f678..6b828e60 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_is_pointer.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_info_is_pointer.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.type_info_is_pointer" 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_pointer</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_pointer</title> -<p>Obtain if the type is passed as a reference.</p></page> + <title>type_info_is_pointer</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.TypeInfo) +@returns(gboolean) +def type_info_is_pointer(info) +</code></synopsis> +<p>Obtain if the type is passed as a reference.</p> +</page> 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..170af6ae 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,30 @@ <?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> + <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 %NULL. The type tag must be a -<link xref="GI_TYPE_TAG_ARRAY">GI_TYPE_TAG_ARRAY</link> or %FALSE will returned.</p></page> +<link xref="GI_TYPE_TAG_ARRAY">GI_TYPE_TAG_ARRAY</link> or %FALSE will returned.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_tag_to_string.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_tag_to_string.page index e6df08f0..0bc19efa 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_tag_to_string.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.type_tag_to_string.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.type_tag_to_string" 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>utf8</api:type> + </api:returns> + <api:name>g_type_tag_to_string</api:name> + <api:arg> + <api:type>GIRepository.TypeTag</api:type> + <api:name>type</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.type_tag_to_string</title> -<p>Obtain a string representation of @type</p></page> + <title>type_tag_to_string</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.TypeTag) +@returns(utf8) +def type_tag_to_string(type) +</code></synopsis> +<p>Obtain a string representation of @type</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_find_method.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_find_method.page index d79cbe36..a623474f 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_find_method.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_find_method.page @@ -1,11 +1,33 @@ <?xml version="1.0"?> + <page id="GIRepository.union_info_find_method" 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.FunctionInfo</api:type> + </api:returns> + <api:name>g_union_info_find_method</api:name> + <api:arg> + <api:type>GIRepository.UnionInfo</api:type> + <api:name>info</api:name> + </api:arg> + <api:arg> + <api:type>utf8</api:type> + <api:name>name</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.union_info_find_method</title> -<p>Obtain the type information for method named @name.</p><p>when done.</p></page> + <title>union_info_find_method</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.UnionInfo, utf8) +@returns(GIRepository.FunctionInfo) +def union_info_find_method(info, name) +</code></synopsis> +<p>Obtain the type information for method named @name.</p><p>when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_alignment.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_alignment.page index 67f1343e..a8a4fadb 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_alignment.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_alignment.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.union_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_union_info_get_alignment</api:name> + <api:arg> + <api:type>GIRepository.UnionInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.union_info_get_alignment</title> -<p>Obtain the required alignment of the union.</p></page> + <title>union_info_get_alignment</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.UnionInfo) +@returns(gsize) +def union_info_get_alignment(info) +</code></synopsis> +<p>Obtain the required alignment of the union.</p> +</page> 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> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator_offset.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator_offset.page index 848b4532..10236668 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator_offset.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator_offset.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.union_info_get_discriminator_offset" 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>gint</api:type> + </api:returns> + <api:name>g_union_info_get_discriminator_offset</api:name> + <api:arg> + <api:type>GIRepository.UnionInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.union_info_get_discriminator_offset</title> + <title>union_info_get_discriminator_offset</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.UnionInfo) +@returns(gint) +def union_info_get_discriminator_offset(info) +</code></synopsis> + </page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator_type.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator_type.page index 09f7f308..f1419b58 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator_type.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_discriminator_type.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.union_info_get_discriminator_type" 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.TypeInfo</api:type> + </api:returns> + <api:name>g_union_info_get_discriminator_type</api:name> + <api:arg> + <api:type>GIRepository.UnionInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.union_info_get_discriminator_type</title> -<p>Obtain the type information of the union discriminator.</p><p>when done.</p></page> + <title>union_info_get_discriminator_type</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.UnionInfo) +@returns(GIRepository.TypeInfo) +def union_info_get_discriminator_type(info) +</code></synopsis> +<p>Obtain the type information of the union discriminator.</p><p>when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_field.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_field.page index 3dd15117..0508d67e 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_field.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_field.page @@ -1,11 +1,33 @@ <?xml version="1.0"?> + <page id="GIRepository.union_info_get_field" 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.FieldInfo</api:type> + </api:returns> + <api:name>g_union_info_get_field</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_field</title> -<p>Obtain the type information for field with specified index.</p><p>when done.</p></page> + <title>union_info_get_field</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.UnionInfo, gint) +@returns(GIRepository.FieldInfo) +def union_info_get_field(info, n) +</code></synopsis> +<p>Obtain the type information for field with specified index.</p><p>when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_method.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_method.page index efaa9dc9..1ad26e8b 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_method.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_method.page @@ -1,11 +1,33 @@ <?xml version="1.0"?> + <page id="GIRepository.union_info_get_method" 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.FunctionInfo</api:type> + </api:returns> + <api:name>g_union_info_get_method</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_method</title> -<p>Obtain the type information for method with specified index.</p><p>when done.</p></page> + <title>union_info_get_method</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.UnionInfo, gint) +@returns(GIRepository.FunctionInfo) +def union_info_get_method(info, n) +</code></synopsis> +<p>Obtain the type information for method with specified index.</p><p>when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_n_fields.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_n_fields.page index 1b9cd575..ef5d95b5 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_n_fields.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_n_fields.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.union_info_get_n_fields" 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>gint</api:type> + </api:returns> + <api:name>g_union_info_get_n_fields</api:name> + <api:arg> + <api:type>GIRepository.UnionInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.union_info_get_n_fields</title> -<p>Obtain the number of fields this union has.</p></page> + <title>union_info_get_n_fields</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.UnionInfo) +@returns(gint) +def union_info_get_n_fields(info) +</code></synopsis> +<p>Obtain the number of fields this union has.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_n_methods.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_n_methods.page index ab0e8073..23a08bb1 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_n_methods.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_n_methods.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.union_info_get_n_methods" 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>gint</api:type> + </api:returns> + <api:name>g_union_info_get_n_methods</api:name> + <api:arg> + <api:type>GIRepository.UnionInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.union_info_get_n_methods</title> -<p>Obtain the number of methods this union has.</p></page> + <title>union_info_get_n_methods</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.UnionInfo) +@returns(gint) +def union_info_get_n_methods(info) +</code></synopsis> +<p>Obtain the number of methods this union has.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_size.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_size.page index daf0281b..43eb1ef9 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_size.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_get_size.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.union_info_get_size" 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_union_info_get_size</api:name> + <api:arg> + <api:type>GIRepository.UnionInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.union_info_get_size</title> -<p>Obtain the total size of the union.</p></page> + <title>union_info_get_size</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.UnionInfo) +@returns(gsize) +def union_info_get_size(info) +</code></synopsis> +<p>Obtain the total size of the union.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_is_discriminated.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_is_discriminated.page index d7951626..bbde42f8 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_is_discriminated.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.union_info_is_discriminated.page @@ -1,11 +1,29 @@ <?xml version="1.0"?> + <page id="GIRepository.union_info_is_discriminated" 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_union_info_is_discriminated</api:name> + <api:arg> + <api:type>GIRepository.UnionInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.union_info_is_discriminated</title> -<p>Return true if this union contains discriminator field.</p></page> + <title>union_info_is_discriminated</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.UnionInfo) +@returns(gboolean) +def union_info_is_discriminated(info) +</code></synopsis> +<p>Return true if this union contains discriminator field.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.value_info_get_value.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.value_info_get_value.page index 0ecb0cb8..2eb0c570 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.value_info_get_value.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.value_info_get_value.page @@ -1,12 +1,30 @@ <?xml version="1.0"?> + <page id="GIRepository.value_info_get_value" 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>gint64</api:type> + </api:returns> + <api:name>g_value_info_get_value</api:name> + <api:arg> + <api:type>GIRepository.ValueInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.value_info_get_value</title> + <title>value_info_get_value</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.ValueInfo) +@returns(gint64) +def value_info_get_value(info) +</code></synopsis> <p>Obtain the enumeration value of the <link xref="GIValueInfo">GIValueInfo</link>.</p><p>as a 32-bit signed or unsigned value. The use of gint64 as the -return type is to allow both.</p></page> +return type is to allow both.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_address.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_address.page index 4569fe79..752b77ed 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_address.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_address.page @@ -1,12 +1,34 @@ <?xml version="1.0"?> + <page id="GIRepository.vfunc_info_get_address" 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>gpointer</api:type> + </api:returns> + <api:name>g_vfunc_info_get_address</api:name> + <api:arg> + <api:type>GIRepository.VFuncInfo</api:type> + <api:name>info</api:name> + </api:arg> + <api:arg> + <api:type>GType</api:type> + <api:name>implementor_gtype</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.vfunc_info_get_address</title> + <title>vfunc_info_get_address</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.VFuncInfo, GType) +@returns(gpointer) +def vfunc_info_get_address(info, implementor_gtype) +</code></synopsis> <p>This method will look up where inside the type struct of @implementor_gtype -is the implementation for @info.</p></page> +is the implementation for @info.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_flags.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_flags.page index 5b2dfb7d..a53d25b6 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_flags.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_flags.page @@ -1,12 +1,30 @@ <?xml version="1.0"?> + <page id="GIRepository.vfunc_info_get_flags" 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.VFuncInfoFlags</api:type> + </api:returns> + <api:name>g_vfunc_info_get_flags</api:name> + <api:arg> + <api:type>GIRepository.VFuncInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.vfunc_info_get_flags</title> + <title>vfunc_info_get_flags</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.VFuncInfo) +@returns(GIRepository.VFuncInfoFlags) +def vfunc_info_get_flags(info) +</code></synopsis> <p>Obtain the flags for this virtual function info. See <link xref="GIVFuncInfoFlags">GIVFuncInfoFlags</link> for -more information about possible flag values.</p></page> +more information about possible flag values.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_invoker.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_invoker.page index 042bbbc4..cadf7825 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_invoker.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_invoker.page @@ -1,12 +1,30 @@ <?xml version="1.0"?> + <page id="GIRepository.vfunc_info_get_invoker" 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.FunctionInfo</api:type> + </api:returns> + <api:name>g_vfunc_info_get_invoker</api:name> + <api:arg> + <api:type>GIRepository.VFuncInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.vfunc_info_get_invoker</title> + <title>vfunc_info_get_invoker</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.VFuncInfo) +@returns(GIRepository.FunctionInfo) +def vfunc_info_get_invoker(info) +</code></synopsis> <p>If this virtual function has an associated invoker method, this -method will return it. An invoker method is a C entry point.</p><p>Not all virtuals will have invokers.</p><p>g_base_info_unref() when done.</p></page> +method will return it. An invoker method is a C entry point.</p><p>Not all virtuals will have invokers.</p><p>g_base_info_unref() when done.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_offset.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_offset.page index 9c219290..a739e2d5 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_offset.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_offset.page @@ -1,12 +1,30 @@ <?xml version="1.0"?> + <page id="GIRepository.vfunc_info_get_offset" 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>gint</api:type> + </api:returns> + <api:name>g_vfunc_info_get_offset</api:name> + <api:arg> + <api:type>GIRepository.VFuncInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.vfunc_info_get_offset</title> + <title>vfunc_info_get_offset</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.VFuncInfo) +@returns(gint) +def vfunc_info_get_offset(info) +</code></synopsis> <p>Obtain the offset of the function pointer in the class struct. The value -0xFFFF indicates that the struct offset is unknown.</p></page> +0xFFFF indicates that the struct offset is unknown.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_signal.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_signal.page index d21acdc5..7bb5f485 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_signal.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_get_signal.page @@ -1,13 +1,31 @@ <?xml version="1.0"?> + <page id="GIRepository.vfunc_info_get_signal" 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.SignalInfo</api:type> + </api:returns> + <api:name>g_vfunc_info_get_signal</api:name> + <api:arg> + <api:type>GIRepository.VFuncInfo</api:type> + <api:name>info</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.vfunc_info_get_signal</title> + <title>vfunc_info_get_signal</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.VFuncInfo) +@returns(GIRepository.SignalInfo) +def vfunc_info_get_signal(info) +</code></synopsis> <p>Obtain the signal for the virtual function if one is set. The signal comes from the object or interface to which -this virtual function belongs.</p></page> +this virtual function belongs.</p> +</page> diff --git a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_invoke.page b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_invoke.page index f3b8533f..41124fd1 100644 --- a/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_invoke.page +++ b/tests/doctool/GIRepository-2.0-Python-expected/GIRepository.vfunc_info_invoke.page @@ -1,13 +1,55 @@ <?xml version="1.0"?> + <page id="GIRepository.vfunc_info_invoke" 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_vfunc_info_invoke</api:name> + <api:arg> + <api:type>GIRepository.VFuncInfo</api:type> + <api:name>info</api:name> + </api:arg> + <api:arg> + <api:type>GType</api:type> + <api:name>implementor</api:name> + </api:arg> + <api:arg> + <api:type>None</api:type> + <api:name>in_args</api:name> + </api:arg> + <api:arg> + <api:type>gint</api:type> + <api:name>n_in_args</api:name> + </api:arg> + <api:arg> + <api:type>None</api:type> + <api:name>out_args</api:name> + </api:arg> + <api:arg> + <api:type>gint</api:type> + <api:name>n_out_args</api:name> + </api:arg> + <api:arg> + <api:type>None</api:type> + <api:name>return_value</api:name> + </api:arg> + </api:function> </info> - <title>GIRepository.vfunc_info_invoke</title> + <title>vfunc_info_invoke</title> +<synopsis><code mime="text/x-python"> +@accepts(GIRepository.VFuncInfo, GType, None, gint, None, gint, None) +@returns(gboolean) +def vfunc_info_invoke(info, implementor, in_args, n_in_args, out_args, n_out_args, return_value) +</code></synopsis> <p>Invokes the function described in @info with the given arguments. Note that inout parameters must appear in both -argument lists.</p><p>error occurred.</p></page> +argument lists.</p><p>error occurred.</p> +</page> |