From 60311e4870095eeb788d3b20ad1e774792ad683b Mon Sep 17 00:00:00 2001
From: Tomeu Vizoso Represents an argument. Represents an argument. The type of array in a GITypeInfo. The type of array in a GITypeInfo. An opaque structure used to iterate over attributes
-in a GIBaseInfo struct.
+gboolean g_base_info_equal (GIBaseInfo* info2);
+
Compare two GIBaseInfo.
Using pointer comparison is not practical since many functions return different instances of GIBaseInfo that refers to the same part of the -TypeLib; use this function instead to do GIBaseInfo comparisons.
Retrieve an arbitrary attribute associated with this node.
+gchar* g_base_info_get_attribute (gchar* name);
+
Retrieve an arbitrary attribute associated with this node.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.get_container.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.get_container.page index 71a8d55e..ff4612de 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.get_container.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.get_container.page @@ -1,13 +1,25 @@ +
+GIBaseInfo* g_base_info_get_container (void);
+
Obtain the container of the @info. The container is the parent GIBaseInfo. For instance, the parent of a GIFunctionInfo is an -GIObjectInfo or GIInterfaceInfo.
+gchar* g_base_info_get_name (void);
+
Obtain the name of the @info. What the name represents depends on the GIInfoType of the @info. For instance for GIFunctionInfo it is -the name of the function.
Obtain the namespace of @info.
+gchar* g_base_info_get_namespace (void);
+
Obtain the namespace of @info.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.get_typelib.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.get_typelib.page index e9ada1f8..c3110ac9 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.get_typelib.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.get_typelib.page @@ -1,11 +1,23 @@ +Obtain the typelib this @info belongs to
+GITypelib* g_base_info_get_typelib (void);
+
Obtain the typelib this @info belongs to
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.is_deprecated.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.is_deprecated.page index c8206c49..83a23e60 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.is_deprecated.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.is_deprecated.page @@ -1,12 +1,24 @@ +
+gboolean g_base_info_is_deprecated (void);
+
Obtain whether the @info is represents a metadata which is -deprecated or not.
+gboolean g_base_info_iterate_attributes (GIAttributeIter* iterator,
+ char** name,
+ char** value);
+
Iterate over all attributes associated with this node. The iterator structure is typically stack allocated, and must have its first member initialized to %NULL.
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>
Increases the reference count of @info.
+GIBaseInfo* g_base_info_ref (void);
+
Increases the reference count of @info.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.unref.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.unref.page index 9402169d..b14af0c9 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.unref.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.BaseInfo.unref.page @@ -1,12 +1,24 @@ +
+void g_base_info_unref (void);
+
Decreases the reference count of @info. When its reference count -drops to 0, the info is freed.
Represents a callable, either GIFunctionInfo, GICallbackInfo or -GIVFuncInfo.
+GIVFuncInfo. + diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.CallbackInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.CallbackInfo.page index f04546f9..e5a71709 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.CallbackInfo.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.CallbackInfo.page @@ -6,5 +6,6 @@ xmlns:ui="http://projectmallard.org/experimental/ui/">Represents a callback, eg arguments and return value.
+Represents a callback, eg arguments and return value.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ConstantInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ConstantInfo.page index af0ea673..4ed05edb 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ConstantInfo.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ConstantInfo.page @@ -6,5 +6,6 @@ xmlns:ui="http://projectmallard.org/experimental/ui/">Represents a constant.
+Represents a constant.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Direction.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Direction.page index b4eb5f3f..fc0949a5 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Direction.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Direction.page @@ -6,5 +6,6 @@ xmlns:ui="http://projectmallard.org/experimental/ui/">The direction of a GIArgInfo.
+The direction of a GIArgInfo.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.EnumInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.EnumInfo.page index 73da91d7..eebac1b0 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.EnumInfo.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.EnumInfo.page @@ -6,5 +6,6 @@ xmlns:ui="http://projectmallard.org/experimental/ui/">Represents an enum or a flag.
+Represents an enum or a flag.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.FieldInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.FieldInfo.page index d9a813d8..d2cf5c86 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.FieldInfo.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.FieldInfo.page @@ -6,5 +6,6 @@ xmlns:ui="http://projectmallard.org/experimental/ui/">Represents a field of a GIStructInfo or a GIUnionInfo.
+Represents a field of a GIStructInfo or a GIUnionInfo.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.FieldInfoFlags.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.FieldInfoFlags.page index 28166d74..22c26a7a 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.FieldInfoFlags.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.FieldInfoFlags.page @@ -6,5 +6,6 @@ xmlns:ui="http://projectmallard.org/experimental/ui/">Flags for a GIFieldInfo.
+Flags for a GIFieldInfo.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.FunctionInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.FunctionInfo.page index 8d45f6e4..d0b0f457 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.FunctionInfo.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.FunctionInfo.page @@ -6,5 +6,6 @@ xmlns:ui="http://projectmallard.org/experimental/ui/">Represents a function, eg arguments and return value.
+Represents a function, eg arguments and return value.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.FunctionInfoFlags.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.FunctionInfoFlags.page index b19947d4..03c4d5af 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.FunctionInfoFlags.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.FunctionInfoFlags.page @@ -6,5 +6,6 @@ xmlns:ui="http://projectmallard.org/experimental/ui/">Flags for a GIFunctionInfo struct.
+Flags for a GIFunctionInfo struct.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.InfoType.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.InfoType.page index d37bac04..f9964f29 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.InfoType.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.InfoType.page @@ -6,5 +6,6 @@ xmlns:ui="http://projectmallard.org/experimental/ui/">The type of a GIBaseInfo struct.
+The type of a GIBaseInfo struct.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.InterfaceInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.InterfaceInfo.page index 3623797a..27ebf8f8 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.InterfaceInfo.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.InterfaceInfo.page @@ -6,5 +6,6 @@ xmlns:ui="http://projectmallard.org/experimental/ui/">Represents an interface.
+Represents an interface.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfo.page index 09428320..fd74384c 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfo.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfo.page @@ -6,5 +6,6 @@ xmlns:ui="http://projectmallard.org/experimental/ui/">Represents an object.
+Represents an object.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfoGetValueFunction.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfoGetValueFunction.page index 61c9ea8e..a8a86392 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfoGetValueFunction.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfoGetValueFunction.page @@ -6,5 +6,6 @@ xmlns:ui="http://projectmallard.org/experimental/ui/">Extract an object instance out of @value
+Extract an object instance out of @value
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfoRefFunction.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfoRefFunction.page index 1fd55579..12b8b52a 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfoRefFunction.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfoRefFunction.page @@ -6,5 +6,6 @@ xmlns:ui="http://projectmallard.org/experimental/ui/">Increases the reference count of an object instance.
+Increases the reference count of an object instance.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfoSetValueFunction.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfoSetValueFunction.page index 4ad842f1..3d5c677d 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfoSetValueFunction.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfoSetValueFunction.page @@ -6,5 +6,6 @@ xmlns:ui="http://projectmallard.org/experimental/ui/">Update @value and attach the object instance pointer @object to it.
+Update @value and attach the object instance pointer @object to it.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfoUnrefFunction.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfoUnrefFunction.page index d52002b3..11120095 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfoUnrefFunction.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ObjectInfoUnrefFunction.page @@ -6,5 +6,6 @@ xmlns:ui="http://projectmallard.org/experimental/ui/">Decreases the reference count of an object instance.
+Decreases the reference count of an object instance.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.PropertyInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.PropertyInfo.page index d24aea5d..2325b69f 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.PropertyInfo.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.PropertyInfo.page @@ -6,5 +6,6 @@ xmlns:ui="http://projectmallard.org/experimental/ui/">Represents a property of a GIObjectInfo or a GIInterfaceInfo.
+Represents a property of a GIObjectInfo or a GIInterfaceInfo.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.RegisteredTypeInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.RegisteredTypeInfo.page index 14de0329..d98e976c 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.RegisteredTypeInfo.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.RegisteredTypeInfo.page @@ -6,5 +6,6 @@ xmlns:ui="http://projectmallard.org/experimental/ui/">Represent a registered type.
+Represent a registered type.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.dump.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.dump.page new file mode 100644 index 00000000..1240f943 --- /dev/null +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.dump.page @@ -0,0 +1,27 @@ + + +
+gboolean g_irepository_dump (char* arg);
+
+GList* g_irepository_enumerate_versions (GIRepository *self,
+gchar* namespace_);
+
Obtain an unordered list of versions (either currently loaded or -available) for @namespace_ in this @repository.
+GQuark g_irepository_error_quark (void);
+
+GIEnumInfo* g_irepository_find_by_error_domain (GIRepository *self,
+GQuark domain);
+
Searches for the enum type corresponding to the given GError 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.
enum type, or %NULL
enum type, or %NULL
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.find_by_gtype.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.find_by_gtype.page index 26775036..6c069134 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.find_by_gtype.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.find_by_gtype.page @@ -1,16 +1,37 @@ +
+GIBaseInfo* g_irepository_find_by_gtype (GIRepository *self,
+GType gtype);
+
Searches all loaded namespaces for a particular GType. 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.
+GIBaseInfo* g_irepository_find_by_name (GIRepository *self,
+gchar* namespace_,
+ gchar* name);
+
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.
+gchar* g_irepository_get_c_prefix (GIRepository *self,
+gchar* namespace_);
+
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 GType in the library.
Note: The namespace must have already been loaded using a function -such as g_irepository_require() before calling this function.
+GIRepository* g_irepository_get_default (void);
+
Returns the singleton process-global default GIRepository. 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 GIRepository also accept %NULL as an instance +parameter to mean this default repository, which is usually more +convenient for C.
+
+utf8* g_irepository_get_dependencies (GIRepository *self,
+gchar* namespace_);
+
Return an array of all (transitive) dependencies for namespace @namespace_, including version. The returned strings are of the form <code>namespace-version</code>.
Note: The namespace must have already been loaded using a function -such as g_irepository_require() before calling this function.
+GIBaseInfo* g_irepository_get_info (GIRepository *self,
+gchar* namespace_,
+ gint index);
+
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.
Return the list of currently loaded namespaces.
+utf8* g_irepository_get_loaded_namespaces (GIRepository *self);
+
Return the list of currently loaded namespaces.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_n_infos.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_n_infos.page index dc1f6a42..cbfea222 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_n_infos.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Repository.get_n_infos.page @@ -1,13 +1,34 @@ +
+gint g_irepository_get_n_infos (GIRepository *self,
+gchar* namespace_);
+
This function returns the number of metadata entries in given namespace @namespace_. The namespace must have -already been loaded before calling this function.
+GOptionGroup* g_irepository_get_option_group (void);
+
Obtain the option group for girepository, it's used +by the dumper and for programs that wants to provide +introspection information
+
+GSList* g_irepository_get_search_path (void);
+
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.
+
+gchar* g_irepository_get_shared_library (GIRepository *self,
+gchar* namespace_);
+
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.
Note: The namespace must have already been loaded using a function -such as g_irepository_require() before calling this function.
+gchar* g_irepository_get_typelib_path (GIRepository *self,
+gchar* namespace_);
+
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;".
+gchar* g_irepository_get_version (GIRepository *self,
+gchar* namespace_);
+
This function returns the loaded version associated with the given namespace @namespace_.
Note: The namespace must have already been loaded using a function -such as g_irepository_require() before calling this function.
+gboolean g_irepository_is_registered (GIRepository *self,
+gchar* namespace_,
+ gchar* version);
+
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.
+char* g_irepository_load_typelib (GIRepository *self,
+GITypelib* typelib,
+ GIRepositoryLoadFlags flags);
+
+void g_irepository_prepend_search_path (char* directory);
+
+GITypelib* g_irepository_require (GIRepository *self,
+gchar* namespace_,
+ gchar* version,
+ GIRepositoryLoadFlags flags);
+
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.
+GITypelib* g_irepository_require_private (GIRepository *self,
+gchar* typelib_dir,
+ gchar* namespace_,
+ gchar* version,
+ GIRepositoryLoadFlags flags);
+
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.
Flags that controlls how a typelib is loaded by -GIRepositry, used by g_irepository_load_typelib().
+GIRepositry, used by g_irepository_load_typelib(). + diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.RepositoryPrivate.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.RepositoryPrivate.page deleted file mode 100644 index 2d159d7f..00000000 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.RepositoryPrivate.page +++ /dev/null @@ -1,11 +0,0 @@ - -Scope type of a GIArgInfo representing callback, determines how the callback is invoked and is used to decided when the invoke structs -can be freed.
+can be freed. + diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.SignalInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.SignalInfo.page index 1b905241..24f8471c 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.SignalInfo.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.SignalInfo.page @@ -6,5 +6,6 @@ xmlns:ui="http://projectmallard.org/experimental/ui/">Represents a signal.
+Represents a signal.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.StructInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.StructInfo.page index 8cc73823..5e1cb0dc 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.StructInfo.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.StructInfo.page @@ -6,5 +6,6 @@ xmlns:ui="http://projectmallard.org/experimental/ui/">Represents a struct.
+Represents a struct.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Transfer.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Transfer.page index 0aa94ec0..67f0729e 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Transfer.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Transfer.page @@ -6,7 +6,7 @@ xmlns:ui="http://projectmallard.org/experimental/ui/">The transfer is the exchange of data between two parts, from the callee to the caller. The callee is either a function/method/signal or an object/interface where a property is defined. The caller is the side @@ -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.
+free them. + diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.TypeInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.TypeInfo.page index 946b898a..5b46d876 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.TypeInfo.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.TypeInfo.page @@ -6,5 +6,6 @@ xmlns:ui="http://projectmallard.org/experimental/ui/">Represents type information, direction, transfer etc.
+Represents type information, direction, transfer etc.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.TypeTag.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.TypeTag.page index c7f4f0ee..d78b1676 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.TypeTag.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.TypeTag.page @@ -6,5 +6,6 @@ xmlns:ui="http://projectmallard.org/experimental/ui/">The type tag of a GITypeInfo.
+The type tag of a GITypeInfo.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Typelib.free.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Typelib.free.page deleted file mode 100644 index 87b8f0e8..00000000 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.Typelib.free.page +++ /dev/null @@ -1,11 +0,0 @@ - -Represents a union.
+Represents a union.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.UnresolvedInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.UnresolvedInfo.page deleted file mode 100644 index c0685b45..00000000 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.UnresolvedInfo.page +++ /dev/null @@ -1,11 +0,0 @@ - -Represents a unresolved type in a typelib.
Represents a virtual function.
+Represents a virtual function.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.VFuncInfoFlags.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.VFuncInfoFlags.page index 44c8512a..7b6d703e 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.VFuncInfoFlags.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.VFuncInfoFlags.page @@ -6,5 +6,6 @@ xmlns:ui="http://projectmallard.org/experimental/ui/">Flags of a GIVFuncInfo struct.
+Flags of a GIVFuncInfo struct.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ValueInfo.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ValueInfo.page index 54761684..38d93f2f 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ValueInfo.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.ValueInfo.page @@ -6,5 +6,6 @@ xmlns:ui="http://projectmallard.org/experimental/ui/">Represents a enum value of a GIEnumInfo.
+Represents a enum value of a GIEnumInfo.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository._Argument.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository._Argument.page index ad4e308b..b5472b97 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository._Argument.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository._Argument.page @@ -6,5 +6,6 @@ xmlns:ui="http://projectmallard.org/experimental/ui/">
+gint g_arg_info_get_closure (GIArgInfo* info);
+
Obtain the index of the user data argument. This is only valid -for arguments which are callbacks.
+gint g_arg_info_get_destroy (GIArgInfo* info);
+
Obtains the index of the GDestroyNotify argument. This is only valid -for arguments which are callbacks.
+GIDirection g_arg_info_get_direction (GIArgInfo* info);
+
Obtain the direction of the argument. Check GIDirection for possible -direction values.
+GITransfer g_arg_info_get_ownership_transfer (GIArgInfo* info);
+
Obtain the ownership transfer for this argument. -GITransfer contains a list of possible values.
+GIScopeType g_arg_info_get_scope (GIArgInfo* info);
+
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. -GIScopeType contains a list of possible values.
Obtain the type information for @info.
g_base_info_unref() when done.
+GITypeInfo* g_arg_info_get_type (GIArgInfo* info);
+
Obtain the type information for @info.
g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_is_caller_allocates.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_is_caller_allocates.page index d1cdd436..51f50381 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_is_caller_allocates.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_is_caller_allocates.page @@ -1,14 +1,30 @@ +
+gboolean g_arg_info_is_caller_allocates (GIArgInfo* info);
+
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.
Obtain if the argument is optional.
+gboolean g_arg_info_is_optional (GIArgInfo* info);
+
Obtain if the argument is optional.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_is_return_value.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_is_return_value.page index a65a74f2..9e60fdc8 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_is_return_value.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_is_return_value.page @@ -1,12 +1,28 @@ +
+gboolean g_arg_info_is_return_value (GIArgInfo* info);
+
Obtain if the argument is a return value. It can either be a -parameter or a return value.
Obtain if an argument is only useful in C.
+gboolean g_arg_info_is_skip (GIArgInfo* info);
+
Obtain if an argument is only useful in C.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_load_type.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_load_type.page index 88a90d31..9b57e0ec 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_load_type.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_load_type.page @@ -1,13 +1,34 @@ +
+void g_arg_info_load_type (GIArgInfo* info,
+ GITypeInfo* type);
+
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.
The initialized @type must not be referenced after @info is deallocated.
The initialized @type must not be referenced after @info is deallocated.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_may_be_null.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_may_be_null.page index 549622cc..2f678496 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_may_be_null.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.arg_info_may_be_null.page @@ -1,11 +1,27 @@ +Obtain if the argument accepts %NULL.
+gboolean g_arg_info_may_be_null (GIArgInfo* info);
+
Obtain if the argument accepts %NULL.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.base_info_get_type.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.base_info_get_type.page index 214ed0e9..06866b79 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.base_info_get_type.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.base_info_get_type.page @@ -1,11 +1,27 @@ +Obtain the info type of the GIBaseInfo.
+GIInfoType g_base_info_get_type (GIBaseInfo* info);
+
Obtain the info type of the GIBaseInfo.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_get_arg.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_get_arg.page index 87bd9694..00cb5b62 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_get_arg.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_get_arg.page @@ -1,11 +1,32 @@ +Obtain information about a particular argument of this callable.
g_base_info_unref() when done.
+GIArgInfo* g_callable_info_get_arg (GICallableInfo* info,
+ gint n);
+
Obtain information about a particular argument of this callable.
g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_get_caller_owns.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_get_caller_owns.page index 3af152c7..1c91b382 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_get_caller_owns.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_get_caller_owns.page @@ -1,12 +1,28 @@ +
+GITransfer g_callable_info_get_caller_owns (GICallableInfo* info);
+
See whether the caller owns the return value of this callable. -GITransfer contains a list of possible transfer values.
Obtain the number of arguments (both IN and OUT) for this callable.
+gint g_callable_info_get_n_args (GICallableInfo* info);
+
Obtain the number of arguments (both IN and OUT) for this callable.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_get_return_attribute.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_get_return_attribute.page index 9413f4b8..eeb4c267 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_get_return_attribute.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_get_return_attribute.page @@ -1,11 +1,32 @@ +Retrieve an arbitrary attribute associated with the return value.
+gchar* g_callable_info_get_return_attribute (GICallableInfo* info,
+ gchar* name);
+
Retrieve an arbitrary attribute associated with the return value.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_get_return_type.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_get_return_type.page index 729d8438..34b7ebcd 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_get_return_type.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_get_return_type.page @@ -1,11 +1,27 @@ +Obtain the return type of a callable item as a GITypeInfo.
g_base_info_unref() when done.
+GITypeInfo* g_callable_info_get_return_type (GICallableInfo* info);
+
Obtain the return type of a callable item as a GITypeInfo.
g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_iterate_return_attributes.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_iterate_return_attributes.page index 9a76370c..5eba4d3e 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_iterate_return_attributes.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_iterate_return_attributes.page @@ -1,15 +1,46 @@ +
+gboolean g_callable_info_iterate_return_attributes (GICallableInfo* info,
+ GIAttributeIter* iterator,
+ char** name,
+ char** value);
+
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.
Both the @name and @value should be treated as constants and must not be freed.
See g_base_info_iterate_attributes() for an example of how to use a -similar API.
+void g_callable_info_load_arg (GICallableInfo* info,
+ gint n,
+ GIArgInfo* arg);
+
Obtain information about a particular argument of this callable; this function is a variant of g_callable_info_get_arg() designed for stack -allocation.
The initialized @arg must not be referenced after @info is deallocated.
The initialized @arg must not be referenced after @info is deallocated.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_load_return_type.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_load_return_type.page index e64c6e92..a12e2506 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_load_return_type.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_load_return_type.page @@ -1,13 +1,34 @@ +
+void g_callable_info_load_return_type (GICallableInfo* info,
+ GITypeInfo* type);
+
Obtain information about a return value of callable; this function is a variant of g_callable_info_get_return_type() designed for stack -allocation.
The initialized @type must not be referenced after @info is deallocated.
The initialized @type must not be referenced after @info is deallocated.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_may_return_null.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_may_return_null.page index 59ef2af1..e3c0f0ec 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_may_return_null.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_may_return_null.page @@ -1,11 +1,27 @@ +See if a callable could return %NULL.
+gboolean g_callable_info_may_return_null (GICallableInfo* info);
+
See if a callable could return %NULL.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_skip_return.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_skip_return.page index 0e9fa95f..680fc27b 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_skip_return.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.callable_info_skip_return.page @@ -1,11 +1,27 @@ +See if a callable's return value is only useful in C.
+gboolean g_callable_info_skip_return (GICallableInfo* info);
+
See if a callable's return value is only useful in C.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.constant_info_free_value.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.constant_info_free_value.page new file mode 100644 index 00000000..685c0b31 --- /dev/null +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.constant_info_free_value.page @@ -0,0 +1,32 @@ + + +
+void g_constant_info_free_value (GIConstantInfo* info,
+ GIArgument* value);
+
Free the value returned from g_constant_info_get_value().
+Obtain the type of the constant as a GITypeInfo.
g_base_info_unref() when done.
+GITypeInfo* g_constant_info_get_type (GIConstantInfo* info);
+
Obtain the type of the constant as a GITypeInfo.
g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.constant_info_get_value.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.constant_info_get_value.page index e004e64e..9e9712ea 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.constant_info_get_value.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.constant_info_get_value.page @@ -1,13 +1,35 @@ +
+gint g_constant_info_get_value (GIConstantInfo* info,
+ GIArgument* value);
+
Obtain the value associated with the GIConstantInfo 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.
+gchar* g_enum_info_get_error_domain (GIEnumInfo* info);
+
+GIFunctionInfo* g_enum_info_get_method (GIEnumInfo* info,
+ gint n);
+
Obtain an enum type method at index @n.
g_base_info_unref() when done.
+
+gint g_enum_info_get_n_methods (GIEnumInfo* info);
+
Obtain the number of methods that this enum type has.
+
+gint g_enum_info_get_n_values (GIEnumInfo* info);
+
+GITypeTag g_enum_info_get_storage_type (GIEnumInfo* info);
+
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.
Obtain a value for this enumeration.
free the struct with g_base_info_unref() when done.
+GIValueInfo* g_enum_info_get_value (GIEnumInfo* info,
+ gint n);
+
Obtain a value for this enumeration.
free the struct with g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_get_field.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_get_field.page index 2435dbd7..c76979ec 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_get_field.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_get_field.page @@ -1,14 +1,40 @@ +
+gboolean g_field_info_get_field (GIFieldInfo* field_info,
+ gpointer mem,
+ GIArgument* value);
+
Reads a field identified by a GFieldInfo 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.
+GIFieldInfoFlags g_field_info_get_flags (GIFieldInfo* info);
+
Obtain the flags for this GIFieldInfo. See GIFieldInfoFlags for possible -flag values.
+gint g_field_info_get_offset (GIFieldInfo* info);
+
Obtain the offset in bits of the field member, this is relative -to the beginning of the struct or union.
+gint g_field_info_get_size (GIFieldInfo* info);
+
Obtain the size in bits of the field member, this is how -much space you need to allocate to store the field.
Obtain the type of a field as a GITypeInfo.
g_base_info_unref() when done.
+GITypeInfo* g_field_info_get_type (GIFieldInfo* info);
+
Obtain the type of a field as a GITypeInfo.
g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_set_field.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_set_field.page index 81eac7eb..c7772bde 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_set_field.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.field_info_set_field.page @@ -1,16 +1,42 @@ +
+gboolean g_field_info_set_field (GIFieldInfo* field_info,
+ gpointer mem,
+ GIArgument* value);
+
Writes a field identified by a GFieldInfo 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.
Obtain the GIFunctionInfoFlags for the @info.
+GIFunctionInfoFlags g_function_info_get_flags (GIFunctionInfo* info);
+
Obtain the GIFunctionInfoFlags for the @info.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.function_info_get_property.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.function_info_get_property.page index f1c9b2a0..1183f13e 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.function_info_get_property.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.function_info_get_property.page @@ -1,14 +1,30 @@ +
+GIPropertyInfo* g_function_info_get_property (GIFunctionInfo* info);
+
Obtain the property associated with this GIFunctionInfo. Only GIFunctionInfo with the flag %GI_FUNCTION_IS_GETTER or %GI_FUNCTION_IS_SETTER have a property set. For other cases, -%NULL will be returned.
g_base_info_unref() when done.
g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.function_info_get_symbol.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.function_info_get_symbol.page index b34d0d88..770feb1c 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.function_info_get_symbol.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.function_info_get_symbol.page @@ -1,13 +1,29 @@ +
+gchar* g_function_info_get_symbol (GIFunctionInfo* info);
+
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().
+GIVFuncInfo* g_function_info_get_vfunc (GIFunctionInfo* info);
+
Obtain the virtual function associated with this GIFunctionInfo. Only GIFunctionInfo with the flag %GI_FUNCTION_WRAPS_VFUNC has -a virtual function set. For other cases, %NULL will be returned.
Free it by calling g_base_info_unref() when done.
Free it by calling g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.function_info_invoke.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.function_info_invoke.page index c2b73a45..25fb7b0f 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.function_info_invoke.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.function_info_invoke.page @@ -1,16 +1,57 @@ +
+gboolean g_function_info_invoke (GIFunctionInfo* info,
+ GIArgument* in_args,
+ int n_in_args,
+ GIArgument* out_args,
+ int n_out_args,
+ GIArgument* return_value);
+
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.
error occurred.
error occurred.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.info_new.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.info_new.page index 75cbf8d7..cdc5b904 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.info_new.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.info_new.page @@ -1,11 +1,42 @@ +
+GIBaseInfo* g_info_new (GIInfoType type,
+ GIBaseInfo* container,
+ GITypelib* typelib,
+ guint32 offset);
+
Obtain a string representation of @type
+gchar* g_info_type_to_string (GIInfoType type);
+
Obtain a string representation of @type
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_find_method.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_find_method.page index b4f7a269..0126104d 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_find_method.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_find_method.page @@ -1,12 +1,33 @@ +
+GIFunctionInfo* g_interface_info_find_method (GIInterfaceInfo* info,
+ gchar* name);
+
Obtain a method of the interface type given a @name. %NULL will be -returned if there's no method available with that name.
Free the struct by calling g_base_info_unref() when done.
Free the struct by calling g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_find_vfunc.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_find_vfunc.page index 6b5878f6..a03701b3 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_find_vfunc.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_find_vfunc.page @@ -1,12 +1,33 @@ +
+GIVFuncInfo* g_interface_info_find_vfunc (GIInterfaceInfo* info,
+ gchar* name);
+
Locate a virtual function slot with name @name. See the documentation -for g_object_info_find_vfunc() for more information on virtuals.
g_base_info_unref() when done.
g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_constant.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_constant.page index 8f3e1e84..1cceb869 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_constant.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_constant.page @@ -1,11 +1,32 @@ +Obtain an interface type constant at index @n.
g_base_info_unref() when done.
+GIConstantInfo* g_interface_info_get_constant (GIInterfaceInfo* info,
+ gint n);
+
Obtain an interface type constant at index @n.
g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_iface_struct.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_iface_struct.page index d8ac1a76..1922a147 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_iface_struct.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_iface_struct.page @@ -1,11 +1,27 @@ +Returns the layout C structure associated with this GInterface.
g_base_info_unref() when done.
+GIStructInfo* g_interface_info_get_iface_struct (GIInterfaceInfo* info);
+
Returns the layout C structure associated with this GInterface.
g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_method.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_method.page index 3de6eee7..169365ad 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_method.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_method.page @@ -1,11 +1,32 @@ +Obtain an interface type method at index @n.
g_base_info_unref() when done.
+GIFunctionInfo* g_interface_info_get_method (GIInterfaceInfo* info,
+ gint n);
+
Obtain an interface type method at index @n.
g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_constants.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_constants.page index 03c41fb1..f0ad3aa4 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_constants.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_constants.page @@ -1,11 +1,27 @@ +Obtain the number of constants that this interface type has.
+gint g_interface_info_get_n_constants (GIInterfaceInfo* info);
+
Obtain the number of constants that this interface type has.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_methods.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_methods.page index 138954b9..da6ce42a 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_methods.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_methods.page @@ -1,11 +1,27 @@ +Obtain the number of methods that this interface type has.
+gint g_interface_info_get_n_methods (GIInterfaceInfo* info);
+
Obtain the number of methods that this interface type has.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_prerequisites.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_prerequisites.page index 8b6456b4..9079d7f3 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_prerequisites.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_prerequisites.page @@ -1,13 +1,29 @@ +
+gint g_interface_info_get_n_prerequisites (GIInterfaceInfo* info);
+
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.
Obtain the number of properties that this interface type has.
+gint g_interface_info_get_n_properties (GIInterfaceInfo* info);
+
Obtain the number of properties that this interface type has.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_signals.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_signals.page index e9070e99..eaf63f4a 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_signals.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_signals.page @@ -1,11 +1,27 @@ +Obtain the number of signals that this interface type has.
+gint g_interface_info_get_n_signals (GIInterfaceInfo* info);
+
Obtain the number of signals that this interface type has.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_vfuncs.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_vfuncs.page index aa048198..bb49209e 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_vfuncs.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_n_vfuncs.page @@ -1,11 +1,27 @@ +Obtain the number of virtual functions that this interface type has.
+gint g_interface_info_get_n_vfuncs (GIInterfaceInfo* info);
+
Obtain the number of virtual functions that this interface type has.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_prerequisite.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_prerequisite.page index 095f4bae..6a5642b8 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_prerequisite.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_prerequisite.page @@ -1,11 +1,32 @@ +Obtain an interface type prerequisites index @n.
g_base_info_unref() when done.
+GIBaseInfo* g_interface_info_get_prerequisite (GIInterfaceInfo* info,
+ gint n);
+
Obtain an interface type prerequisites index @n.
g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_property.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_property.page index 44609b31..14a9e586 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_property.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_property.page @@ -1,11 +1,32 @@ +Obtain an interface type property at index @n.
g_base_info_unref() when done.
+GIPropertyInfo* g_interface_info_get_property (GIInterfaceInfo* info,
+ gint n);
+
Obtain an interface type property at index @n.
g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_signal.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_signal.page index 046a6c49..ea2294a6 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_signal.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_signal.page @@ -1,11 +1,32 @@ +Obtain an interface type signal at index @n.
g_base_info_unref() when done.
+GISignalInfo* g_interface_info_get_signal (GIInterfaceInfo* info,
+ gint n);
+
Obtain an interface type signal at index @n.
g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_vfunc.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_vfunc.page index 7bf28868..241917b0 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_vfunc.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.interface_info_get_vfunc.page @@ -1,11 +1,32 @@ +Obtain an interface type virtual function at index @n.
g_base_info_unref() when done.
+GIVFuncInfo* g_interface_info_get_vfunc (GIInterfaceInfo* info,
+ gint n);
+
Obtain an interface type virtual function at index @n.
g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.invoke_error_quark.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.invoke_error_quark.page index 5b8f56e8..197e1e7f 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.invoke_error_quark.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.invoke_error_quark.page @@ -1,11 +1,23 @@ +
+GQuark g_invoke_error_quark (void);
+
An error occuring while invoking a function via -g_function_info_invoke().
+g_function_info_invoke(). + diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_find_method.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_find_method.page index 5e99574c..299dc91c 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_find_method.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_find_method.page @@ -1,12 +1,33 @@ +
+GIFunctionInfo* g_object_info_find_method (GIObjectInfo* info,
+ gchar* name);
+
Obtain a method of the object type given a @name. %NULL will be -returned if there's no method available with that name.
g_base_info_unref() when done.
g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_find_method_using_interfaces.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_find_method_using_interfaces.page index a30510e0..d56d6cd4 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_find_method_using_interfaces.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_find_method_using_interfaces.page @@ -1,14 +1,40 @@ +
+GIFunctionInfo* g_object_info_find_method_using_interfaces (GIObjectInfo* info,
+ gchar* name,
+ GIObjectInfo** implementor);
+
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.
Note that this function does *not* search parent classes; you will have -to chain up if that's desired.
g_base_info_unref() when done.
g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_find_signal.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_find_signal.page index 3b7662c4..c4ea7bec 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_find_signal.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_find_signal.page @@ -1,11 +1,32 @@ +
+GISignalInfo* g_object_info_find_signal (GIObjectInfo* info,
+ gchar* name);
+
+GIVFuncInfo* g_object_info_find_vfunc (GIObjectInfo* info,
+ gchar* name);
+
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.
g_base_info_unref() when done.
g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_abstract.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_abstract.page index 068650fe..6f776fd5 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_abstract.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_abstract.page @@ -1,12 +1,28 @@ +
+gboolean g_object_info_get_abstract (GIObjectInfo* info);
+
Obtain if the object type is an abstract type, eg if it cannot be -instantiated
+GIStructInfo* g_object_info_get_class_struct (GIObjectInfo* info);
+
Every GObject has two structures; an instance structure and a class -structure. This function returns the metadata for the class structure.
g_base_info_unref() when done.
g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_constant.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_constant.page index bcf08e83..ceea5330 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_constant.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_constant.page @@ -1,11 +1,32 @@ +Obtain an object type constant at index @n.
g_base_info_unref() when done.
+GIConstantInfo* g_object_info_get_constant (GIObjectInfo* info,
+ gint n);
+
Obtain an object type constant at index @n.
g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_field.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_field.page index 22cc7019..57696038 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_field.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_field.page @@ -1,11 +1,32 @@ +Obtain an object type field at index @n.
g_base_info_unref() when done.
+GIFieldInfo* g_object_info_get_field (GIObjectInfo* info,
+ gint n);
+
Obtain an object type field at index @n.
g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_fundamental.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_fundamental.page index b8cd0420..3bf95867 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_fundamental.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_fundamental.page @@ -1,12 +1,28 @@ +
+gboolean g_object_info_get_fundamental (GIObjectInfo* info);
+
Obtain if the object type is of a fundamental type which is not -G_TYPE_OBJECT. This is mostly for supporting GstMiniObject.
+char* g_object_info_get_get_value_function (GIObjectInfo* info);
+
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().
+GIObjectInfoGetValueFunction g_object_info_get_get_value_function_pointer (GIObjectInfo* info);
+
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.
Obtain an object type interface at index @n.
g_base_info_unref() when done.
+GIInterfaceInfo* g_object_info_get_interface (GIObjectInfo* info,
+ gint n);
+
Obtain an object type interface at index @n.
g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_method.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_method.page index a657b4ef..54de9d97 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_method.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_method.page @@ -1,11 +1,32 @@ +Obtain an object type method at index @n.
g_base_info_unref() when done.
+GIFunctionInfo* g_object_info_get_method (GIObjectInfo* info,
+ gint n);
+
Obtain an object type method at index @n.
g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_constants.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_constants.page index 35370474..5ab39eba 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_constants.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_constants.page @@ -1,11 +1,27 @@ +Obtain the number of constants that this object type has.
+gint g_object_info_get_n_constants (GIObjectInfo* info);
+
Obtain the number of constants that this object type has.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_fields.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_fields.page index 20bf1c24..afa06b80 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_fields.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_fields.page @@ -1,11 +1,27 @@ +Obtain the number of fields that this object type has.
+gint g_object_info_get_n_fields (GIObjectInfo* info);
+
Obtain the number of fields that this object type has.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_interfaces.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_interfaces.page index 45145245..2ba22ef1 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_interfaces.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_interfaces.page @@ -1,11 +1,27 @@ +Obtain the number of interfaces that this object type has.
+gint g_object_info_get_n_interfaces (GIObjectInfo* info);
+
Obtain the number of interfaces that this object type has.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_methods.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_methods.page index a6b4f80c..edb4f879 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_methods.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_methods.page @@ -1,11 +1,27 @@ +Obtain the number of methods that this object type has.
+gint g_object_info_get_n_methods (GIObjectInfo* info);
+
Obtain the number of methods that this object type has.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_properties.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_properties.page index 3b1a3f12..98e167e8 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_properties.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_properties.page @@ -1,11 +1,27 @@ +Obtain the number of properties that this object type has.
+gint g_object_info_get_n_properties (GIObjectInfo* info);
+
Obtain the number of properties that this object type has.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_signals.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_signals.page index 95e3d50e..be779632 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_signals.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_signals.page @@ -1,11 +1,27 @@ +Obtain the number of signals that this object type has.
+gint g_object_info_get_n_signals (GIObjectInfo* info);
+
Obtain the number of signals that this object type has.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_vfuncs.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_vfuncs.page index 5a016876..0abd4fcc 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_vfuncs.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_n_vfuncs.page @@ -1,11 +1,27 @@ +Obtain the number of virtual functions that this object type has.
+gint g_object_info_get_n_vfuncs (GIObjectInfo* info);
+
Obtain the number of virtual functions that this object type has.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_parent.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_parent.page index ea52bca7..6d65af79 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_parent.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_parent.page @@ -1,11 +1,27 @@ +Obtain the parent of the object type.
g_base_info_unref() when done.
+GIObjectInfo* g_object_info_get_parent (GIObjectInfo* info);
+
Obtain the parent of the object type.
g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_property.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_property.page index b827f850..abd60abe 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_property.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_property.page @@ -1,11 +1,32 @@ +Obtain an object type property at index @n.
g_base_info_unref() when done.
+GIPropertyInfo* g_object_info_get_property (GIObjectInfo* info,
+ gint n);
+
Obtain an object type property at index @n.
g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_ref_function.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_ref_function.page index 25d8406a..444a06e1 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_ref_function.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_ref_function.page @@ -1,14 +1,30 @@ +
+char* g_object_info_get_ref_function (GIObjectInfo* info);
+
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().
+GIObjectInfoRefFunction g_object_info_get_ref_function_pointer (GIObjectInfo* info);
+
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.
+char* g_object_info_get_set_value_function (GIObjectInfo* info);
+
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().
+GIObjectInfoSetValueFunction g_object_info_get_set_value_function_pointer (GIObjectInfo* info);
+
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.
Obtain an object type signal at index @n.
g_base_info_unref() when done.
+GISignalInfo* g_object_info_get_signal (GIObjectInfo* info,
+ gint n);
+
Obtain an object type signal at index @n.
g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_type_init.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_type_init.page index 76aa19de..5f0419bb 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_type_init.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_type_init.page @@ -1,12 +1,28 @@ +
+gchar* g_object_info_get_type_init (GIObjectInfo* info);
+
Obtain the function which when called will return the GType -function for which this object type is registered.
Obtain the name of the objects class/type.
+gchar* g_object_info_get_type_name (GIObjectInfo* info);
+
Obtain the name of the objects class/type.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_unref_function.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_unref_function.page index 4597c898..44bc1b24 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_unref_function.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.object_info_get_unref_function.page @@ -1,14 +1,30 @@ +
+char* g_object_info_get_unref_function (GIObjectInfo* info);
+
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().
+GIObjectInfoUnrefFunction g_object_info_get_unref_function_pointer (GIObjectInfo* info);
+
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.
Obtain an object type virtual function at index @n.
g_base_info_unref() when done.
+GIVFuncInfo* g_object_info_get_vfunc (GIObjectInfo* info,
+ gint n);
+
Obtain an object type virtual function at index @n.
g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.property_info_get_flags.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.property_info_get_flags.page index eecc6931..4317fd4a 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.property_info_get_flags.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.property_info_get_flags.page @@ -1,12 +1,28 @@ +
+GParamFlags g_property_info_get_flags (GIPropertyInfo* info);
+
Obtain the flags for this property info. See GParamFags for -more information about possible flag values.
+GITransfer g_property_info_get_ownership_transfer (GIPropertyInfo* info);
+
Obtain the ownership transfer for this property. See GITransfer for more -information about transfer values.
Obtain the type information for the property @info.
g_base_info_unref() when done.
+GITypeInfo* g_property_info_get_type (GIPropertyInfo* info);
+
Obtain the type information for the property @info.
g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.registered_type_info_get_g_type.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.registered_type_info_get_g_type.page index 30098eb7..7d1a6ce2 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.registered_type_info_get_g_type.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.registered_type_info_get_g_type.page @@ -1,14 +1,30 @@ +
+GType g_registered_type_info_get_g_type (GIRegisteredTypeInfo* info);
+
Obtain the GType 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.
+gchar* g_registered_type_info_get_type_init (GIRegisteredTypeInfo* info);
+
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.
passing into g_module_symbol().
passing into g_module_symbol().
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.registered_type_info_get_type_name.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.registered_type_info_get_type_name.page index a651f7c4..d4a30557 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.registered_type_info_get_type_name.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.registered_type_info_get_type_name.page @@ -1,12 +1,28 @@ +
+gchar* g_registered_type_info_get_type_name (GIRegisteredTypeInfo* info);
+
Obtain the type name of the struct within the GObject type system. -This type can be passed to g_type_name() to get a GType.
+GIVFuncInfo* g_signal_info_get_class_closure (GISignalInfo* info);
+
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.
+GSignalFlags g_signal_info_get_flags (GISignalInfo* info);
+
Obtain the flags for this signal info. See GSignalFlags for -more information about possible flag values.
+gboolean g_signal_info_true_stops_emit (GISignalInfo* info);
+
Obtain if the returning true in the signal handler will -stop the emission of the signal.
Obtain the type information for method named @name.
when done.
+GIFunctionInfo* g_struct_info_find_method (GIStructInfo* info,
+ gchar* name);
+
Obtain the type information for method named @name.
when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_alignment.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_alignment.page index 7cb4a806..8e324904 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_alignment.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_alignment.page @@ -1,11 +1,27 @@ +Obtain the required alignment of the structure.
+gsize g_struct_info_get_alignment (GIStructInfo* info);
+
Obtain the required alignment of the structure.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_field.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_field.page index 5da3e831..76eb343f 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_field.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_field.page @@ -1,11 +1,32 @@ +Obtain the type information for field with specified index.
when done.
+GIFieldInfo* g_struct_info_get_field (GIStructInfo* info,
+ gint n);
+
Obtain the type information for field with specified index.
when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_method.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_method.page index 6bbdb1a4..32f7947a 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_method.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_method.page @@ -1,11 +1,32 @@ +Obtain the type information for method with specified index.
when done.
+GIFunctionInfo* g_struct_info_get_method (GIStructInfo* info,
+ gint n);
+
Obtain the type information for method with specified index.
when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_n_fields.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_n_fields.page index 210f747d..7ef2369d 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_n_fields.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_n_fields.page @@ -1,11 +1,27 @@ +Obtain the number of fields this structure has.
+gint g_struct_info_get_n_fields (GIStructInfo* info);
+
Obtain the number of fields this structure has.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_n_methods.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_n_methods.page index 2e1e8739..dc2c0dff 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_n_methods.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_n_methods.page @@ -1,11 +1,27 @@ +Obtain the number of methods this structure has.
+gint g_struct_info_get_n_methods (GIStructInfo* info);
+
Obtain the number of methods this structure has.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_size.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_size.page index 738ce9a1..b0bf9797 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_size.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_get_size.page @@ -1,11 +1,27 @@ +Obtain the total size of the structure.
+gsize g_struct_info_get_size (GIStructInfo* info);
+
Obtain the total size of the structure.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_is_foreign.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_is_foreign.page index 2b266ef3..03fa5593 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_is_foreign.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.struct_info_is_foreign.page @@ -1,11 +1,27 @@ +
+gboolean g_struct_info_is_foreign (GIStructInfo* info);
+
+gboolean g_struct_info_is_gtype_struct (GIStructInfo* info);
+
Return true if this structure represents the "class structure" for some GObject or GInterface. This function is mainly useful to hide this kind of structure -from generated public APIs.
+gint g_type_info_get_array_fixed_size (GITypeInfo* info);
+
Obtain the fixed array size of the type. The type tag must be a -GI_TYPE_TAG_ARRAY or -1 will returned.
+gint g_type_info_get_array_length (GITypeInfo* info);
+
Obtain the array length of the type. The type tag must be a -GI_TYPE_TAG_ARRAY or -1 will returned.
+GIArrayType g_type_info_get_array_type (GITypeInfo* info);
+
Obtain the array type for this type. See GIArrayType for a list of possible values. If the type tag of this type is not array, -1 will be -returned.
+GIBaseInfo* g_type_info_get_interface (GITypeInfo* info);
+
For types which have GI_TYPE_TAG_INTERFACE such as GObjects and boxed values, this function returns full information about the referenced type. You can then inspect the type of the returned GIBaseInfo to further query whether it is -a concrete GObject, a GInterface, a structure, etc. using g_base_info_get_type().
g_base_info_unref() when done.
g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_get_param_type.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_get_param_type.page index e657da53..6bb64ff2 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_get_param_type.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_get_param_type.page @@ -1,11 +1,32 @@ +Obtain the parameter type @n.
+GITypeInfo* g_type_info_get_param_type (GITypeInfo* info,
+ gint n);
+
Obtain the parameter type @n.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_get_tag.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_get_tag.page index 6d5b4003..200f764d 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_get_tag.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_get_tag.page @@ -1,12 +1,28 @@ +
+GITypeTag g_type_info_get_tag (GITypeInfo* info);
+
Obtain the type tag for the type. See GITypeTag for a list -of type tags.
Obtain if the type is passed as a reference.
+gboolean g_type_info_is_pointer (GITypeInfo* info);
+
Obtain if the type is passed as a reference.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_is_zero_terminated.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_is_zero_terminated.page index c0d8afcc..33b54c58 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_is_zero_terminated.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.type_info_is_zero_terminated.page @@ -1,12 +1,28 @@ +
+gboolean g_type_info_is_zero_terminated (GITypeInfo* info);
+
Obtain if the last element of the array is %NULL. The type tag must be a -GI_TYPE_TAG_ARRAY or %FALSE will returned.
Obtain a string representation of @type
+gchar* g_type_tag_to_string (GITypeTag type);
+
Obtain a string representation of @type
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_find_method.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_find_method.page index 991ae89c..691ecac6 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_find_method.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_find_method.page @@ -1,11 +1,32 @@ +Obtain the type information for method named @name.
when done.
+GIFunctionInfo* g_union_info_find_method (GIUnionInfo* info,
+ gchar* name);
+
Obtain the type information for method named @name.
when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_alignment.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_alignment.page index 25fc4d88..ef468828 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_alignment.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_alignment.page @@ -1,11 +1,27 @@ +Obtain the required alignment of the union.
+gsize g_union_info_get_alignment (GIUnionInfo* info);
+
Obtain the required alignment of the union.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_discriminator.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_discriminator.page index 974a1cba..50f75784 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_discriminator.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_discriminator.page @@ -1,13 +1,34 @@ +
+GIConstantInfo* g_union_info_get_discriminator (GIUnionInfo* info,
+ gint n);
+
Obtain discriminator value assigned for n-th union field, i.e. n-th union field is the active one if discriminator contains this -constant.
when done.
when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_discriminator_offset.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_discriminator_offset.page index 9fa8c0e0..948e41e0 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_discriminator_offset.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_discriminator_offset.page @@ -1,11 +1,27 @@ +
+gint g_union_info_get_discriminator_offset (GIUnionInfo* info);
+
Obtain the type information of the union discriminator.
when done.
+GITypeInfo* g_union_info_get_discriminator_type (GIUnionInfo* info);
+
Obtain the type information of the union discriminator.
when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_field.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_field.page index 77ff25a5..d0f61aa9 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_field.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_field.page @@ -1,11 +1,32 @@ +Obtain the type information for field with specified index.
when done.
+GIFieldInfo* g_union_info_get_field (GIUnionInfo* info,
+ gint n);
+
Obtain the type information for field with specified index.
when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_method.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_method.page index bb541325..fe6de725 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_method.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_method.page @@ -1,11 +1,32 @@ +Obtain the type information for method with specified index.
when done.
+GIFunctionInfo* g_union_info_get_method (GIUnionInfo* info,
+ gint n);
+
Obtain the type information for method with specified index.
when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_n_fields.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_n_fields.page index 10e14728..cb52b7b3 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_n_fields.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_n_fields.page @@ -1,11 +1,27 @@ +Obtain the number of fields this union has.
+gint g_union_info_get_n_fields (GIUnionInfo* info);
+
Obtain the number of fields this union has.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_n_methods.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_n_methods.page index 3c4b319e..ed86477d 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_n_methods.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_n_methods.page @@ -1,11 +1,27 @@ +Obtain the number of methods this union has.
+gint g_union_info_get_n_methods (GIUnionInfo* info);
+
Obtain the number of methods this union has.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_size.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_size.page index 3644d37b..56fb8774 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_size.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_get_size.page @@ -1,11 +1,27 @@ +Obtain the total size of the union.
+gsize g_union_info_get_size (GIUnionInfo* info);
+
Obtain the total size of the union.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_is_discriminated.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_is_discriminated.page index 934cd89e..cae09c18 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_is_discriminated.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.union_info_is_discriminated.page @@ -1,11 +1,27 @@ +Return true if this union contains discriminator field.
+gboolean g_union_info_is_discriminated (GIUnionInfo* info);
+
Return true if this union contains discriminator field.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.value_info_get_value.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.value_info_get_value.page index 2c63b170..bcb89f9f 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.value_info_get_value.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.value_info_get_value.page @@ -1,12 +1,28 @@ +
+gint64 g_value_info_get_value (GIValueInfo* info);
+
Obtain the enumeration value of the GIValueInfo.
as a 32-bit signed or unsigned value. The use of gint64 as the -return type is to allow both.
+gpointer g_vfunc_info_get_address (GIVFuncInfo* info,
+ GType implementor_gtype);
+
This method will look up where inside the type struct of @implementor_gtype -is the implementation for @info.
+GIVFuncInfoFlags g_vfunc_info_get_flags (GIVFuncInfo* info);
+
Obtain the flags for this virtual function info. See GIVFuncInfoFlags for -more information about possible flag values.
+GIFunctionInfo* g_vfunc_info_get_invoker (GIVFuncInfo* info);
+
If this virtual function has an associated invoker method, this -method will return it. An invoker method is a C entry point.
Not all virtuals will have invokers.
g_base_info_unref() when done.
Not all virtuals will have invokers.
g_base_info_unref() when done.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.vfunc_info_get_offset.page b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.vfunc_info_get_offset.page index f5bc5f4e..e4a77777 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/GIRepository.vfunc_info_get_offset.page +++ b/tests/doctool/GIRepository-2.0-C-expected/GIRepository.vfunc_info_get_offset.page @@ -1,12 +1,28 @@ +
+gint g_vfunc_info_get_offset (GIVFuncInfo* info);
+
Obtain the offset of the function pointer in the class struct. The value -0xFFFF indicates that the struct offset is unknown.
+GISignalInfo* g_vfunc_info_get_signal (GIVFuncInfo* info);
+
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.
+gboolean g_vfunc_info_invoke (GIVFuncInfo* info,
+ GType implementor,
+ GIArgument* in_args,
+ int n_in_args,
+ GIArgument* out_args,
+ int n_out_args,
+ GIArgument* return_value);
+
Invokes the function described in @info with the given arguments. Note that inout parameters must appear in both -argument lists.
error occurred.
error occurred.
+ diff --git a/tests/doctool/GIRepository-2.0-C-expected/index.page b/tests/doctool/GIRepository-2.0-C-expected/index.page index badacf05..c1ce06a6 100644 --- a/tests/doctool/GIRepository-2.0-C-expected/index.page +++ b/tests/doctool/GIRepository-2.0-C-expected/index.page @@ -7,13 +7,13 @@Represents an argument.
+Represents an argument.
+ 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 @@The type of array in a GITypeInfo.
+The type of array in a GITypeInfo.
+ 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 @@An opaque structure used to iterate over attributes -in a GIBaseInfo struct.
+An opaque structure used to iterate over attributes +in a #GIBaseInfo struct.
+ 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 @@ +
+@accepts(GIRepository.BaseInfo)
+@returns(gboolean)
+def GIRepository.BaseInfo.equal(info2)
+
Compare two GIBaseInfo.
Using pointer comparison is not practical since many functions return different instances of GIBaseInfo that refers to the same part of the -TypeLib; use this function instead to do GIBaseInfo comparisons.
Retrieve an arbitrary attribute associated with this node.
+@accepts(utf8)
+@returns(utf8)
+def GIRepository.BaseInfo.get_attribute(name)
+
Retrieve an arbitrary attribute associated with this node.
+ 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 @@ +
+@returns(GIRepository.BaseInfo)
+def GIRepository.BaseInfo.get_container()
+
Obtain the container of the @info. The container is the parent GIBaseInfo. For instance, the parent of a GIFunctionInfo is an -GIObjectInfo or GIInterfaceInfo.
+@returns(utf8)
+def GIRepository.BaseInfo.get_name()
+
Obtain the name of the @info. What the name represents depends on the GIInfoType of the @info. For instance for GIFunctionInfo it is -the name of the function.
Obtain the namespace of @info.
+@returns(utf8)
+def GIRepository.BaseInfo.get_namespace()
+
Obtain the namespace of @info.
+ 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 @@ +Obtain the typelib this @info belongs to
+@returns(GIRepository.Typelib)
+def GIRepository.BaseInfo.get_typelib()
+
Obtain the typelib this @info belongs to
+ 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 @@ +
+@returns(gboolean)
+def GIRepository.BaseInfo.is_deprecated()
+
Obtain whether the @info is represents a metadata which is -deprecated or not.
+@accepts(GIRepository.AttributeIter, utf8, utf8)
+@returns(gboolean)
+def GIRepository.BaseInfo.iterate_attributes(iterator, name, value)
+
Iterate over all attributes associated with this node. The iterator structure is typically stack allocated, and must have its first member initialized to %NULL.
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>
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> +
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>Getting the Button of the Gtk typelib</title>
-<programlisting>
+g_irepository_find_by_name(), g_irepository_find_by_gtype() or g_irepository_get_info().
+
+
<refsect1 id="gi-gibaseinfo.struct-hierarchy" role="struct_hierarchy">
-<title role="struct_hierarchy.title">Struct hierarchy</title>
-<synopsis>
+
+
+
+
Increases the reference count of @info.
+@returns(GIRepository.BaseInfo)
+def GIRepository.BaseInfo.ref()
+
Increases the reference count of @info.
+ 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 @@ +
+@returns(none)
+def GIRepository.BaseInfo.unref()
+
Decreases the reference count of @info. When its reference count -drops to 0, the info is freed.
Represents a callable, either GIFunctionInfo, GICallbackInfo or -GIVFuncInfo.
+GIVFuncInfo. + 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 @@Represents a callback, eg arguments and return value.
+Represents a callback, eg arguments and return value.
+ 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 @@Represents a constant.
+Represents a constant.
+ 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 @@The direction of a GIArgInfo.
+The direction of a GIArgInfo.
+ 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 @@Represents an enum or a flag.
+Represents an enum or a flag.
+ 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 @@Represents a field of a GIStructInfo or a GIUnionInfo.
+Represents a field of a GIStructInfo or a GIUnionInfo.
+ 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 @@Flags for a GIFieldInfo.
+Flags for a GIFieldInfo.
+ 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 @@Represents a function, eg arguments and return value.
+Represents a function, eg arguments and return value.
+ 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 @@Flags for a GIFunctionInfo struct.
+Flags for a GIFunctionInfo struct.
+ 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 @@The type of a GIBaseInfo struct.
+The type of a GIBaseInfo struct.
+ 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 @@Represents an interface.
+Represents an interface.
+ 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 @@Represents an object.
+Represents an object.
+ 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 @@Extract an object instance out of @value
+Extract an object instance out of @value
+ 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 @@Increases the reference count of an object instance.
+Increases the reference count of an object instance.
+ 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 @@Update @value and attach the object instance pointer @object to it.
+Update @value and attach the object instance pointer @object to it.
+ 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 @@Decreases the reference count of an object instance.
+Decreases the reference count of an object instance.
+ 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 @@Represents a property of a GIObjectInfo or a GIInterfaceInfo.
+Represents a property of a GIObjectInfo or a GIInterfaceInfo.
+ 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 @@Represent a registered type.
+Represent a registered type.
+ 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 @@ + + +
+@accepts(utf8)
+@returns(gboolean)
+def GIRepository.Repository.dump(arg)
+
+@accepts(utf8)
+@returns(<list>)
+def GIRepository.Repository.enumerate_versions(namespace_)
+
Obtain an unordered list of versions (either currently loaded or -available) for @namespace_ in this @repository.
+@returns(GLib.Quark)
+def GIRepository.Repository.error_quark()
+
+@accepts(GLib.Quark)
+@returns(GIRepository.EnumInfo)
+def GIRepository.Repository.find_by_error_domain(domain)
+
Searches for the enum type corresponding to the given GError 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.
enum type, or %NULL
enum type, or %NULL
+ 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 @@ +
+@accepts(GType)
+@returns(GIRepository.BaseInfo)
+def GIRepository.Repository.find_by_gtype(gtype)
+
Searches all loaded namespaces for a particular GType. 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.
+@accepts(utf8, utf8)
+@returns(GIRepository.BaseInfo)
+def GIRepository.Repository.find_by_name(namespace_, name)
+
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.
+@accepts(utf8)
+@returns(utf8)
+def GIRepository.Repository.get_c_prefix(namespace_)
+
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 GType in the library.
Note: The namespace must have already been loaded using a function -such as g_irepository_require() before calling this function.
+@returns(GIRepository.Repository)
+def GIRepository.Repository.get_default()
+
Returns the singleton process-global default GIRepository. 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 GIRepository also accept %NULL as an instance +parameter to mean this default repository, which is usually more +convenient for C.
+
+@accepts(utf8)
+@returns([utf8])
+def GIRepository.Repository.get_dependencies(namespace_)
+
Return an array of all (transitive) dependencies for namespace @namespace_, including version. The returned strings are of the form <code>namespace-version</code>.
Note: The namespace must have already been loaded using a function -such as g_irepository_require() before calling this function.
+@accepts(utf8, gint)
+@returns(GIRepository.BaseInfo)
+def GIRepository.Repository.get_info(namespace_, index)
+
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.
Return the list of currently loaded namespaces.
+@returns([utf8])
+def GIRepository.Repository.get_loaded_namespaces()
+
Return the list of currently loaded namespaces.
+ 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 @@ +
+@accepts(utf8)
+@returns(gint)
+def GIRepository.Repository.get_n_infos(namespace_)
+
This function returns the number of metadata entries in given namespace @namespace_. The namespace must have -already been loaded before calling this function.
+@returns(GLib.OptionGroup)
+def GIRepository.Repository.get_option_group()
+
Obtain the option group for girepository, it's used +by the dumper and for programs that wants to provide +introspection information
+
+@returns(<list>)
+def GIRepository.Repository.get_search_path()
+
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.
+
+@accepts(utf8)
+@returns(utf8)
+def GIRepository.Repository.get_shared_library(namespace_)
+
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.
Note: The namespace must have already been loaded using a function -such as g_irepository_require() before calling this function.
+@accepts(utf8)
+@returns(utf8)
+def GIRepository.Repository.get_typelib_path(namespace_)
+
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;".
+@accepts(utf8)
+@returns(utf8)
+def GIRepository.Repository.get_version(namespace_)
+
This function returns the loaded version associated with the given namespace @namespace_.
Note: The namespace must have already been loaded using a function -such as g_irepository_require() before calling this function.
+@accepts(utf8, utf8)
+@returns(gboolean)
+def GIRepository.Repository.is_registered(namespace_, version)
+
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.
+@accepts(GIRepository.Typelib, GIRepository.RepositoryLoadFlags)
+@returns(utf8)
+def GIRepository.Repository.load_typelib(typelib, flags)
+
+@accepts(utf8)
+@returns(none)
+def GIRepository.Repository.prepend_search_path(directory)
+
+@accepts(utf8, utf8, GIRepository.RepositoryLoadFlags)
+@returns(GIRepository.Typelib)
+def GIRepository.Repository.require(namespace_, version, flags)
+
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.
+@accepts(utf8, utf8, utf8, GIRepository.RepositoryLoadFlags)
+@returns(GIRepository.Typelib)
+def GIRepository.Repository.require_private(typelib_dir, namespace_, version, flags)
+
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.
None
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 @@Flags that controlls how a typelib is loaded by -GIRepositry, used by g_irepository_load_typelib().
+GIRepositry, used by g_irepository_load_typelib(). + 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 @@ - -Scope type of a GIArgInfo representing callback, determines how the callback is invoked and is used to decided when the invoke structs -can be freed.
+can be freed. + 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 @@Represents a signal.
+Represents a signal.
+ 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 @@Represents a struct.
+Represents a struct.
+ 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. +free them. + 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 @@Represents type information, direction, transfer etc.
+Represents type information, direction, transfer etc.
+ 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 @@The type tag of a GITypeInfo.
+The type tag of a GITypeInfo.
+ 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 @@ - -Represents a union.
+Represents a union.
+ 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 @@ - -Represents a unresolved type in a typelib.
Represents a virtual function.
+Represents a virtual function.
+ 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 @@Flags of a GIVFuncInfo struct.
+Flags of a GIVFuncInfo struct.
+ 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 @@Represents a enum value of a GIEnumInfo.
+Represents a enum value of a GIEnumInfo.
+ 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 @@None
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 @@ +
+@accepts(GIRepository.ArgInfo)
+@returns(gint)
+def arg_info_get_closure(info)
+
Obtain the index of the user data argument. This is only valid -for arguments which are callbacks.
+@accepts(GIRepository.ArgInfo)
+@returns(gint)
+def arg_info_get_destroy(info)
+
Obtains the index of the GDestroyNotify argument. This is only valid -for arguments which are callbacks.
+@accepts(GIRepository.ArgInfo)
+@returns(GIRepository.Direction)
+def arg_info_get_direction(info)
+
Obtain the direction of the argument. Check GIDirection for possible -direction values.
+@accepts(GIRepository.ArgInfo)
+@returns(GIRepository.Transfer)
+def arg_info_get_ownership_transfer(info)
+
Obtain the ownership transfer for this argument. -GITransfer contains a list of possible values.
+@accepts(GIRepository.ArgInfo)
+@returns(GIRepository.ScopeType)
+def arg_info_get_scope(info)
+
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. -GIScopeType contains a list of possible values.
Obtain the type information for @info.
g_base_info_unref() when done.
+@accepts(GIRepository.ArgInfo)
+@returns(GIRepository.TypeInfo)
+def arg_info_get_type(info)
+
Obtain the type information for @info.
g_base_info_unref() when done.
+ 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 @@ +
+@accepts(GIRepository.ArgInfo)
+@returns(gboolean)
+def arg_info_is_caller_allocates(info)
+
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.
Obtain if the argument is optional.
+@accepts(GIRepository.ArgInfo)
+@returns(gboolean)
+def arg_info_is_optional(info)
+
Obtain if the argument is optional.
+ 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 @@ +
+@accepts(GIRepository.ArgInfo)
+@returns(gboolean)
+def arg_info_is_return_value(info)
+
Obtain if the argument is a return value. It can either be a -parameter or a return value.
Obtain if an argument is only useful in C.
+@accepts(GIRepository.ArgInfo)
+@returns(gboolean)
+def arg_info_is_skip(info)
+
Obtain if an argument is only useful in C.
+ 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 @@ +
+@accepts(GIRepository.ArgInfo, GIRepository.TypeInfo)
+@returns(none)
+def arg_info_load_type(info, type)
+
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.
The initialized @type must not be referenced after @info is deallocated.
The initialized @type must not be referenced after @info is deallocated.
+ 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 @@ +Obtain if the argument accepts %NULL.
+@accepts(GIRepository.ArgInfo)
+@returns(gboolean)
+def arg_info_may_be_null(info)
+
Obtain if the argument accepts %NULL.
+ 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 @@ +Obtain the info type of the GIBaseInfo.
+@accepts(GIRepository.BaseInfo)
+@returns(GIRepository.InfoType)
+def base_info_get_type(info)
+
Obtain the info type of the GIBaseInfo.
+ 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 @@ +Obtain information about a particular argument of this callable.
g_base_info_unref() when done.
+@accepts(GIRepository.CallableInfo, gint)
+@returns(GIRepository.ArgInfo)
+def callable_info_get_arg(info, n)
+
Obtain information about a particular argument of this callable.
g_base_info_unref() when done.
+ 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 @@ +
+@accepts(GIRepository.CallableInfo)
+@returns(GIRepository.Transfer)
+def callable_info_get_caller_owns(info)
+
See whether the caller owns the return value of this callable. -GITransfer contains a list of possible transfer values.
Obtain the number of arguments (both IN and OUT) for this callable.
+@accepts(GIRepository.CallableInfo)
+@returns(gint)
+def callable_info_get_n_args(info)
+
Obtain the number of arguments (both IN and OUT) for this callable.
+ 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 @@ +Retrieve an arbitrary attribute associated with the return value.
+@accepts(GIRepository.CallableInfo, utf8)
+@returns(utf8)
+def callable_info_get_return_attribute(info, name)
+
Retrieve an arbitrary attribute associated with the return value.
+ 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 @@ +Obtain the return type of a callable item as a GITypeInfo.
g_base_info_unref() when done.
+@accepts(GIRepository.CallableInfo)
+@returns(GIRepository.TypeInfo)
+def callable_info_get_return_type(info)
+
Obtain the return type of a callable item as a GITypeInfo.
g_base_info_unref() when done.
+ 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 @@ +
+@accepts(GIRepository.CallableInfo, GIRepository.AttributeIter, utf8, utf8)
+@returns(gboolean)
+def callable_info_iterate_return_attributes(info, iterator, name, value)
+
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.
Both the @name and @value should be treated as constants and must not be freed.
See g_base_info_iterate_attributes() for an example of how to use a -similar API.
+@accepts(GIRepository.CallableInfo, gint, GIRepository.ArgInfo)
+@returns(none)
+def callable_info_load_arg(info, n, arg)
+
Obtain information about a particular argument of this callable; this function is a variant of g_callable_info_get_arg() designed for stack -allocation.
The initialized @arg must not be referenced after @info is deallocated.
The initialized @arg must not be referenced after @info is deallocated.
+ 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 @@ +
+@accepts(GIRepository.CallableInfo, GIRepository.TypeInfo)
+@returns(none)
+def callable_info_load_return_type(info, type)
+
Obtain information about a return value of callable; this function is a variant of g_callable_info_get_return_type() designed for stack -allocation.
The initialized @type must not be referenced after @info is deallocated.
The initialized @type must not be referenced after @info is deallocated.
+ 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 @@ +See if a callable could return %NULL.
+@accepts(GIRepository.CallableInfo)
+@returns(gboolean)
+def callable_info_may_return_null(info)
+
See if a callable could return %NULL.
+ 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 @@ +See if a callable's return value is only useful in C.
+@accepts(GIRepository.CallableInfo)
+@returns(gboolean)
+def callable_info_skip_return(info)
+
See if a callable's return value is only useful in C.
+ 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 @@ + + +
+@accepts(GIRepository.ConstantInfo, None)
+@returns(none)
+def constant_info_free_value(info, value)
+
Free the value returned from g_constant_info_get_value().
+Obtain the type of the constant as a GITypeInfo.
g_base_info_unref() when done.
+@accepts(GIRepository.ConstantInfo)
+@returns(GIRepository.TypeInfo)
+def constant_info_get_type(info)
+
Obtain the type of the constant as a GITypeInfo.
g_base_info_unref() when done.
+ 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 @@ +
+@accepts(GIRepository.ConstantInfo, None)
+@returns(gint)
+def constant_info_get_value(info, value)
+
Obtain the value associated with the GIConstantInfo 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.
+@accepts(GIRepository.EnumInfo)
+@returns(utf8)
+def enum_info_get_error_domain(info)
+
+@accepts(GIRepository.EnumInfo, gint)
+@returns(GIRepository.FunctionInfo)
+def enum_info_get_method(info, n)
+
Obtain an enum type method at index @n.
g_base_info_unref() when done.
+
+@accepts(GIRepository.EnumInfo)
+@returns(gint)
+def enum_info_get_n_methods(info)
+
Obtain the number of methods that this enum type has.
+
+@accepts(GIRepository.EnumInfo)
+@returns(gint)
+def enum_info_get_n_values(info)
+
+@accepts(GIRepository.EnumInfo)
+@returns(GIRepository.TypeTag)
+def enum_info_get_storage_type(info)
+
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.
Obtain a value for this enumeration.
free the struct with g_base_info_unref() when done.
+@accepts(GIRepository.EnumInfo, gint)
+@returns(GIRepository.ValueInfo)
+def enum_info_get_value(info, n)
+
Obtain a value for this enumeration.
free the struct with g_base_info_unref() when done.
+ 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 @@ +
+@accepts(GIRepository.FieldInfo, gpointer, None)
+@returns(gboolean)
+def field_info_get_field(field_info, mem, value)
+
Reads a field identified by a GFieldInfo 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.
+@accepts(GIRepository.FieldInfo)
+@returns(GIRepository.FieldInfoFlags)
+def field_info_get_flags(info)
+
Obtain the flags for this GIFieldInfo. See GIFieldInfoFlags for possible -flag values.
+@accepts(GIRepository.FieldInfo)
+@returns(gint)
+def field_info_get_offset(info)
+
Obtain the offset in bits of the field member, this is relative -to the beginning of the struct or union.
+@accepts(GIRepository.FieldInfo)
+@returns(gint)
+def field_info_get_size(info)
+
Obtain the size in bits of the field member, this is how -much space you need to allocate to store the field.
Obtain the type of a field as a GITypeInfo.
g_base_info_unref() when done.
+@accepts(GIRepository.FieldInfo)
+@returns(GIRepository.TypeInfo)
+def field_info_get_type(info)
+
Obtain the type of a field as a GITypeInfo.
g_base_info_unref() when done.
+ 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 @@ +
+@accepts(GIRepository.FieldInfo, gpointer, None)
+@returns(gboolean)
+def field_info_set_field(field_info, mem, value)
+
Writes a field identified by a GFieldInfo 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.
Obtain the GIFunctionInfoFlags for the @info.
+@accepts(GIRepository.FunctionInfo)
+@returns(GIRepository.FunctionInfoFlags)
+def function_info_get_flags(info)
+
Obtain the GIFunctionInfoFlags for the @info.
+ 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 @@ +
+@accepts(GIRepository.FunctionInfo)
+@returns(GIRepository.PropertyInfo)
+def function_info_get_property(info)
+
Obtain the property associated with this GIFunctionInfo. Only GIFunctionInfo with the flag %GI_FUNCTION_IS_GETTER or %GI_FUNCTION_IS_SETTER have a property set. For other cases, -%NULL will be returned.
g_base_info_unref() when done.
g_base_info_unref() when done.
+ 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 @@ +
+@accepts(GIRepository.FunctionInfo)
+@returns(utf8)
+def function_info_get_symbol(info)
+
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().
+@accepts(GIRepository.FunctionInfo)
+@returns(GIRepository.VFuncInfo)
+def function_info_get_vfunc(info)
+
Obtain the virtual function associated with this GIFunctionInfo. Only GIFunctionInfo with the flag %GI_FUNCTION_WRAPS_VFUNC has -a virtual function set. For other cases, %NULL will be returned.
Free it by calling g_base_info_unref() when done.
Free it by calling g_base_info_unref() when done.
+ 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 @@ +
+@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)
+
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.
error occurred.
error occurred.
+ 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 @@ +
+@accepts(GIRepository.InfoType, GIRepository.BaseInfo, GIRepository.Typelib, guint32)
+@returns(GIRepository.BaseInfo)
+def info_new(type, container, typelib, offset)
+
Obtain a string representation of @type
+@accepts(GIRepository.InfoType)
+@returns(utf8)
+def info_type_to_string(type)
+
Obtain a string representation of @type
+ 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 @@ +
+@accepts(GIRepository.InterfaceInfo, utf8)
+@returns(GIRepository.FunctionInfo)
+def interface_info_find_method(info, name)
+
Obtain a method of the interface type given a @name. %NULL will be -returned if there's no method available with that name.
Free the struct by calling g_base_info_unref() when done.
Free the struct by calling g_base_info_unref() when done.
+ 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 @@ +
+@accepts(GIRepository.InterfaceInfo, utf8)
+@returns(GIRepository.VFuncInfo)
+def interface_info_find_vfunc(info, name)
+
Locate a virtual function slot with name @name. See the documentation -for g_object_info_find_vfunc() for more information on virtuals.
g_base_info_unref() when done.
g_base_info_unref() when done.
+ 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 @@ +Obtain an interface type constant at index @n.
g_base_info_unref() when done.
+@accepts(GIRepository.InterfaceInfo, gint)
+@returns(GIRepository.ConstantInfo)
+def interface_info_get_constant(info, n)
+
Obtain an interface type constant at index @n.
g_base_info_unref() when done.
+ 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 @@ +Returns the layout C structure associated with this GInterface.
g_base_info_unref() when done.
+@accepts(GIRepository.InterfaceInfo)
+@returns(GIRepository.StructInfo)
+def interface_info_get_iface_struct(info)
+
Returns the layout C structure associated with this GInterface.
g_base_info_unref() when done.
+ 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 @@ +Obtain an interface type method at index @n.
g_base_info_unref() when done.
+@accepts(GIRepository.InterfaceInfo, gint)
+@returns(GIRepository.FunctionInfo)
+def interface_info_get_method(info, n)
+
Obtain an interface type method at index @n.
g_base_info_unref() when done.
+ 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 @@ +Obtain the number of constants that this interface type has.
+@accepts(GIRepository.InterfaceInfo)
+@returns(gint)
+def interface_info_get_n_constants(info)
+
Obtain the number of constants that this interface type has.
+ 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 @@ +Obtain the number of methods that this interface type has.
+@accepts(GIRepository.InterfaceInfo)
+@returns(gint)
+def interface_info_get_n_methods(info)
+
Obtain the number of methods that this interface type has.
+ 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 @@ +
+@accepts(GIRepository.InterfaceInfo)
+@returns(gint)
+def interface_info_get_n_prerequisites(info)
+
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.
Obtain the number of properties that this interface type has.
+@accepts(GIRepository.InterfaceInfo)
+@returns(gint)
+def interface_info_get_n_properties(info)
+
Obtain the number of properties that this interface type has.
+ 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 @@ +Obtain the number of signals that this interface type has.
+@accepts(GIRepository.InterfaceInfo)
+@returns(gint)
+def interface_info_get_n_signals(info)
+
Obtain the number of signals that this interface type has.
+ 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 @@ +Obtain the number of virtual functions that this interface type has.
+@accepts(GIRepository.InterfaceInfo)
+@returns(gint)
+def interface_info_get_n_vfuncs(info)
+
Obtain the number of virtual functions that this interface type has.
+ 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 @@ +Obtain an interface type prerequisites index @n.
g_base_info_unref() when done.
+@accepts(GIRepository.InterfaceInfo, gint)
+@returns(GIRepository.BaseInfo)
+def interface_info_get_prerequisite(info, n)
+
Obtain an interface type prerequisites index @n.
g_base_info_unref() when done.
+ 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 @@ +Obtain an interface type property at index @n.
g_base_info_unref() when done.
+@accepts(GIRepository.InterfaceInfo, gint)
+@returns(GIRepository.PropertyInfo)
+def interface_info_get_property(info, n)
+
Obtain an interface type property at index @n.
g_base_info_unref() when done.
+ 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 @@ +Obtain an interface type signal at index @n.
g_base_info_unref() when done.
+@accepts(GIRepository.InterfaceInfo, gint)
+@returns(GIRepository.SignalInfo)
+def interface_info_get_signal(info, n)
+
Obtain an interface type signal at index @n.
g_base_info_unref() when done.
+ 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 @@ +Obtain an interface type virtual function at index @n.
g_base_info_unref() when done.
+@accepts(GIRepository.InterfaceInfo, gint)
+@returns(GIRepository.VFuncInfo)
+def interface_info_get_vfunc(info, n)
+
Obtain an interface type virtual function at index @n.
g_base_info_unref() when done.
+ 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 @@ +
+@returns(GLib.Quark)
+def invoke_error_quark()
+
An error occuring while invoking a function via -g_function_info_invoke().
+g_function_info_invoke(). + 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 @@ +
+@accepts(GIRepository.ObjectInfo, utf8)
+@returns(GIRepository.FunctionInfo)
+def object_info_find_method(info, name)
+
Obtain a method of the object type given a @name. %NULL will be -returned if there's no method available with that name.
g_base_info_unref() when done.
g_base_info_unref() when done.
+ 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 @@ +
+@accepts(GIRepository.ObjectInfo, utf8, GIRepository.ObjectInfo)
+@returns(GIRepository.FunctionInfo)
+def object_info_find_method_using_interfaces(info, name, implementor)
+
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.
Note that this function does *not* search parent classes; you will have -to chain up if that's desired.
g_base_info_unref() when done.
g_base_info_unref() when done.
+ 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 @@ +
+@accepts(GIRepository.ObjectInfo, utf8)
+@returns(GIRepository.SignalInfo)
+def object_info_find_signal(info, name)
+
+@accepts(GIRepository.ObjectInfo, utf8)
+@returns(GIRepository.VFuncInfo)
+def object_info_find_vfunc(info, name)
+
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.
g_base_info_unref() when done.
g_base_info_unref() when done.
+ 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 @@ +
+@accepts(GIRepository.ObjectInfo)
+@returns(gboolean)
+def object_info_get_abstract(info)
+
Obtain if the object type is an abstract type, eg if it cannot be -instantiated
+@accepts(GIRepository.ObjectInfo)
+@returns(GIRepository.StructInfo)
+def object_info_get_class_struct(info)
+
Every GObject has two structures; an instance structure and a class -structure. This function returns the metadata for the class structure.
g_base_info_unref() when done.
g_base_info_unref() when done.
+ 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 @@ +Obtain an object type constant at index @n.
g_base_info_unref() when done.
+@accepts(GIRepository.ObjectInfo, gint)
+@returns(GIRepository.ConstantInfo)
+def object_info_get_constant(info, n)
+
Obtain an object type constant at index @n.
g_base_info_unref() when done.
+ 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 @@ +Obtain an object type field at index @n.
g_base_info_unref() when done.
+@accepts(GIRepository.ObjectInfo, gint)
+@returns(GIRepository.FieldInfo)
+def object_info_get_field(info, n)
+
Obtain an object type field at index @n.
g_base_info_unref() when done.
+ 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 @@ +
+@accepts(GIRepository.ObjectInfo)
+@returns(gboolean)
+def object_info_get_fundamental(info)
+
Obtain if the object type is of a fundamental type which is not -G_TYPE_OBJECT. This is mostly for supporting GstMiniObject.
+@accepts(GIRepository.ObjectInfo)
+@returns(utf8)
+def object_info_get_get_value_function(info)
+
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().
+@accepts(GIRepository.ObjectInfo)
+@returns(GIRepository.ObjectInfoGetValueFunction)
+def object_info_get_get_value_function_pointer(info)
+
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.
Obtain an object type interface at index @n.
g_base_info_unref() when done.
+@accepts(GIRepository.ObjectInfo, gint)
+@returns(GIRepository.InterfaceInfo)
+def object_info_get_interface(info, n)
+
Obtain an object type interface at index @n.
g_base_info_unref() when done.
+ 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 @@ +Obtain an object type method at index @n.
g_base_info_unref() when done.
+@accepts(GIRepository.ObjectInfo, gint)
+@returns(GIRepository.FunctionInfo)
+def object_info_get_method(info, n)
+
Obtain an object type method at index @n.
g_base_info_unref() when done.
+ 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 @@ +Obtain the number of constants that this object type has.
+@accepts(GIRepository.ObjectInfo)
+@returns(gint)
+def object_info_get_n_constants(info)
+
Obtain the number of constants that this object type has.
+ 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 @@ +Obtain the number of fields that this object type has.
+@accepts(GIRepository.ObjectInfo)
+@returns(gint)
+def object_info_get_n_fields(info)
+
Obtain the number of fields that this object type has.
+ 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 @@ +Obtain the number of interfaces that this object type has.
+@accepts(GIRepository.ObjectInfo)
+@returns(gint)
+def object_info_get_n_interfaces(info)
+
Obtain the number of interfaces that this object type has.
+ 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 @@ +Obtain the number of methods that this object type has.
+@accepts(GIRepository.ObjectInfo)
+@returns(gint)
+def object_info_get_n_methods(info)
+
Obtain the number of methods that this object type has.
+ 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 @@ +Obtain the number of properties that this object type has.
+@accepts(GIRepository.ObjectInfo)
+@returns(gint)
+def object_info_get_n_properties(info)
+
Obtain the number of properties that this object type has.
+ 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 @@ +Obtain the number of signals that this object type has.
+@accepts(GIRepository.ObjectInfo)
+@returns(gint)
+def object_info_get_n_signals(info)
+
Obtain the number of signals that this object type has.
+ 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 @@ +Obtain the number of virtual functions that this object type has.
+@accepts(GIRepository.ObjectInfo)
+@returns(gint)
+def object_info_get_n_vfuncs(info)
+
Obtain the number of virtual functions that this object type has.
+ 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 @@ +Obtain the parent of the object type.
g_base_info_unref() when done.
+@accepts(GIRepository.ObjectInfo)
+@returns(GIRepository.ObjectInfo)
+def object_info_get_parent(info)
+
Obtain the parent of the object type.
g_base_info_unref() when done.
+ 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 @@ +Obtain an object type property at index @n.
g_base_info_unref() when done.
+@accepts(GIRepository.ObjectInfo, gint)
+@returns(GIRepository.PropertyInfo)
+def object_info_get_property(info, n)
+
Obtain an object type property at index @n.
g_base_info_unref() when done.
+ 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 @@ +
+@accepts(GIRepository.ObjectInfo)
+@returns(utf8)
+def object_info_get_ref_function(info)
+
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().
+@accepts(GIRepository.ObjectInfo)
+@returns(GIRepository.ObjectInfoRefFunction)
+def object_info_get_ref_function_pointer(info)
+
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.
+@accepts(GIRepository.ObjectInfo)
+@returns(utf8)
+def object_info_get_set_value_function(info)
+
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().
+@accepts(GIRepository.ObjectInfo)
+@returns(GIRepository.ObjectInfoSetValueFunction)
+def object_info_get_set_value_function_pointer(info)
+
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.
Obtain an object type signal at index @n.
g_base_info_unref() when done.
+@accepts(GIRepository.ObjectInfo, gint)
+@returns(GIRepository.SignalInfo)
+def object_info_get_signal(info, n)
+
Obtain an object type signal at index @n.
g_base_info_unref() when done.
+ 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 @@ +
+@accepts(GIRepository.ObjectInfo)
+@returns(utf8)
+def object_info_get_type_init(info)
+
Obtain the function which when called will return the GType -function for which this object type is registered.
Obtain the name of the objects class/type.
+@accepts(GIRepository.ObjectInfo)
+@returns(utf8)
+def object_info_get_type_name(info)
+
Obtain the name of the objects class/type.
+ 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 @@ +
+@accepts(GIRepository.ObjectInfo)
+@returns(utf8)
+def object_info_get_unref_function(info)
+
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().
+@accepts(GIRepository.ObjectInfo)
+@returns(GIRepository.ObjectInfoUnrefFunction)
+def object_info_get_unref_function_pointer(info)
+
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.
Obtain an object type virtual function at index @n.
g_base_info_unref() when done.
+@accepts(GIRepository.ObjectInfo, gint)
+@returns(GIRepository.VFuncInfo)
+def object_info_get_vfunc(info, n)
+
Obtain an object type virtual function at index @n.
g_base_info_unref() when done.
+ 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 @@ +
+@accepts(GIRepository.PropertyInfo)
+@returns(GObject.ParamFlags)
+def property_info_get_flags(info)
+
Obtain the flags for this property info. See GParamFags for -more information about possible flag values.
+@accepts(GIRepository.PropertyInfo)
+@returns(GIRepository.Transfer)
+def property_info_get_ownership_transfer(info)
+
Obtain the ownership transfer for this property. See GITransfer for more -information about transfer values.
Obtain the type information for the property @info.
g_base_info_unref() when done.
+@accepts(GIRepository.PropertyInfo)
+@returns(GIRepository.TypeInfo)
+def property_info_get_type(info)
+
Obtain the type information for the property @info.
g_base_info_unref() when done.
+ 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 @@ +
+@accepts(GIRepository.RegisteredTypeInfo)
+@returns(GType)
+def registered_type_info_get_g_type(info)
+
Obtain the GType 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.
+@accepts(GIRepository.RegisteredTypeInfo)
+@returns(utf8)
+def registered_type_info_get_type_init(info)
+
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.
passing into g_module_symbol().
passing into g_module_symbol().
+ 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 @@ +
+@accepts(GIRepository.RegisteredTypeInfo)
+@returns(utf8)
+def registered_type_info_get_type_name(info)
+
Obtain the type name of the struct within the GObject type system. -This type can be passed to g_type_name() to get a GType.
+@accepts(GIRepository.SignalInfo)
+@returns(GIRepository.VFuncInfo)
+def signal_info_get_class_closure(info)
+
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.
+@accepts(GIRepository.SignalInfo)
+@returns(GObject.SignalFlags)
+def signal_info_get_flags(info)
+
Obtain the flags for this signal info. See GSignalFlags for -more information about possible flag values.
+@accepts(GIRepository.SignalInfo)
+@returns(gboolean)
+def signal_info_true_stops_emit(info)
+
Obtain if the returning true in the signal handler will -stop the emission of the signal.
Obtain the type information for method named @name.
when done.
+@accepts(GIRepository.StructInfo, utf8)
+@returns(GIRepository.FunctionInfo)
+def struct_info_find_method(info, name)
+
Obtain the type information for method named @name.
when done.
+ 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 @@ +Obtain the required alignment of the structure.
+@accepts(GIRepository.StructInfo)
+@returns(gsize)
+def struct_info_get_alignment(info)
+
Obtain the required alignment of the structure.
+ 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 @@ +Obtain the type information for field with specified index.
when done.
+@accepts(GIRepository.StructInfo, gint)
+@returns(GIRepository.FieldInfo)
+def struct_info_get_field(info, n)
+
Obtain the type information for field with specified index.
when done.
+ 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 @@ +Obtain the type information for method with specified index.
when done.
+@accepts(GIRepository.StructInfo, gint)
+@returns(GIRepository.FunctionInfo)
+def struct_info_get_method(info, n)
+
Obtain the type information for method with specified index.
when done.
+ 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 @@ +Obtain the number of fields this structure has.
+@accepts(GIRepository.StructInfo)
+@returns(gint)
+def struct_info_get_n_fields(info)
+
Obtain the number of fields this structure has.
+ 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 @@ +Obtain the number of methods this structure has.
+@accepts(GIRepository.StructInfo)
+@returns(gint)
+def struct_info_get_n_methods(info)
+
Obtain the number of methods this structure has.
+ 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 @@ +Obtain the total size of the structure.
+@accepts(GIRepository.StructInfo)
+@returns(gsize)
+def struct_info_get_size(info)
+
Obtain the total size of the structure.
+ 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 @@ +
+@accepts(GIRepository.StructInfo)
+@returns(gboolean)
+def struct_info_is_foreign(info)
+
+@accepts(GIRepository.StructInfo)
+@returns(gboolean)
+def struct_info_is_gtype_struct(info)
+
Return true if this structure represents the "class structure" for some GObject or GInterface. This function is mainly useful to hide this kind of structure -from generated public APIs.
+@accepts(GIRepository.TypeInfo)
+@returns(gint)
+def type_info_get_array_fixed_size(info)
+
Obtain the fixed array size of the type. The type tag must be a -GI_TYPE_TAG_ARRAY or -1 will returned.
+@accepts(GIRepository.TypeInfo)
+@returns(gint)
+def type_info_get_array_length(info)
+
Obtain the array length of the type. The type tag must be a -GI_TYPE_TAG_ARRAY or -1 will returned.
+@accepts(GIRepository.TypeInfo)
+@returns(GIRepository.ArrayType)
+def type_info_get_array_type(info)
+
Obtain the array type for this type. See GIArrayType for a list of possible values. If the type tag of this type is not array, -1 will be -returned.
+@accepts(GIRepository.TypeInfo)
+@returns(GIRepository.BaseInfo)
+def type_info_get_interface(info)
+
For types which have GI_TYPE_TAG_INTERFACE such as GObjects and boxed values, this function returns full information about the referenced type. You can then inspect the type of the returned GIBaseInfo to further query whether it is -a concrete GObject, a GInterface, a structure, etc. using g_base_info_get_type().
g_base_info_unref() when done.
g_base_info_unref() when done.
+ 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 @@ +Obtain the parameter type @n.
+@accepts(GIRepository.TypeInfo, gint)
+@returns(GIRepository.TypeInfo)
+def type_info_get_param_type(info, n)
+
Obtain the parameter type @n.
+ 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 @@ +
+@accepts(GIRepository.TypeInfo)
+@returns(GIRepository.TypeTag)
+def type_info_get_tag(info)
+
Obtain the type tag for the type. See GITypeTag for a list -of type tags.
Obtain if the type is passed as a reference.
+@accepts(GIRepository.TypeInfo)
+@returns(gboolean)
+def type_info_is_pointer(info)
+
Obtain if the type is passed as a reference.
+ 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 @@ +
+@accepts(GIRepository.TypeInfo)
+@returns(gboolean)
+def type_info_is_zero_terminated(info)
+
Obtain if the last element of the array is %NULL. The type tag must be a -GI_TYPE_TAG_ARRAY or %FALSE will returned.
Obtain a string representation of @type
+@accepts(GIRepository.TypeTag)
+@returns(utf8)
+def type_tag_to_string(type)
+
Obtain a string representation of @type
+ 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 @@ +Obtain the type information for method named @name.
when done.
+@accepts(GIRepository.UnionInfo, utf8)
+@returns(GIRepository.FunctionInfo)
+def union_info_find_method(info, name)
+
Obtain the type information for method named @name.
when done.
+ 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 @@ +Obtain the required alignment of the union.
+@accepts(GIRepository.UnionInfo)
+@returns(gsize)
+def union_info_get_alignment(info)
+
Obtain the required alignment of the union.
+ 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 @@ +
+@accepts(GIRepository.UnionInfo, gint)
+@returns(GIRepository.ConstantInfo)
+def union_info_get_discriminator(info, n)
+
Obtain discriminator value assigned for n-th union field, i.e. n-th union field is the active one if discriminator contains this -constant.
when done.
when done.
+ 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 @@ +
+@accepts(GIRepository.UnionInfo)
+@returns(gint)
+def union_info_get_discriminator_offset(info)
+
Obtain the type information of the union discriminator.
when done.
+@accepts(GIRepository.UnionInfo)
+@returns(GIRepository.TypeInfo)
+def union_info_get_discriminator_type(info)
+
Obtain the type information of the union discriminator.
when done.
+ 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 @@ +Obtain the type information for field with specified index.
when done.
+@accepts(GIRepository.UnionInfo, gint)
+@returns(GIRepository.FieldInfo)
+def union_info_get_field(info, n)
+
Obtain the type information for field with specified index.
when done.
+ 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 @@ +Obtain the type information for method with specified index.
when done.
+@accepts(GIRepository.UnionInfo, gint)
+@returns(GIRepository.FunctionInfo)
+def union_info_get_method(info, n)
+
Obtain the type information for method with specified index.
when done.
+ 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 @@ +Obtain the number of fields this union has.
+@accepts(GIRepository.UnionInfo)
+@returns(gint)
+def union_info_get_n_fields(info)
+
Obtain the number of fields this union has.
+ 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 @@ +Obtain the number of methods this union has.
+@accepts(GIRepository.UnionInfo)
+@returns(gint)
+def union_info_get_n_methods(info)
+
Obtain the number of methods this union has.
+ 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 @@ +Obtain the total size of the union.
+@accepts(GIRepository.UnionInfo)
+@returns(gsize)
+def union_info_get_size(info)
+
Obtain the total size of the union.
+ 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 @@ +Return true if this union contains discriminator field.
+@accepts(GIRepository.UnionInfo)
+@returns(gboolean)
+def union_info_is_discriminated(info)
+
Return true if this union contains discriminator field.
+ 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 @@ +
+@accepts(GIRepository.ValueInfo)
+@returns(gint64)
+def value_info_get_value(info)
+
Obtain the enumeration value of the GIValueInfo.
as a 32-bit signed or unsigned value. The use of gint64 as the -return type is to allow both.
+@accepts(GIRepository.VFuncInfo, GType)
+@returns(gpointer)
+def vfunc_info_get_address(info, implementor_gtype)
+
This method will look up where inside the type struct of @implementor_gtype -is the implementation for @info.
+@accepts(GIRepository.VFuncInfo)
+@returns(GIRepository.VFuncInfoFlags)
+def vfunc_info_get_flags(info)
+
Obtain the flags for this virtual function info. See GIVFuncInfoFlags for -more information about possible flag values.
+@accepts(GIRepository.VFuncInfo)
+@returns(GIRepository.FunctionInfo)
+def vfunc_info_get_invoker(info)
+
If this virtual function has an associated invoker method, this -method will return it. An invoker method is a C entry point.
Not all virtuals will have invokers.
g_base_info_unref() when done.
Not all virtuals will have invokers.
g_base_info_unref() when done.
+ 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 @@ +
+@accepts(GIRepository.VFuncInfo)
+@returns(gint)
+def vfunc_info_get_offset(info)
+
Obtain the offset of the function pointer in the class struct. The value -0xFFFF indicates that the struct offset is unknown.
+@accepts(GIRepository.VFuncInfo)
+@returns(GIRepository.SignalInfo)
+def vfunc_info_get_signal(info)
+
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.
+@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)
+
Invokes the function described in @info with the given arguments. Note that inout parameters must appear in both -argument lists.
error occurred.
error occurred.
+ -- cgit v1.2.1