From f060e70c83fc705bcc7d319502c2721d084b026e Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Sat, 13 Aug 2011 10:11:15 -0300 Subject: [PATCH] Update expected after rebase --- tests/doctool/GIRepository-2.0-expected.xml | 68 ++++++++++++++++++++++++++--- 1 file changed, 62 insertions(+), 6 deletions(-) diff --git a/tests/doctool/GIRepository-2.0-expected.xml b/tests/doctool/GIRepository-2.0-expected.xml index 27cba39..9b1a94f 100644 --- a/tests/doctool/GIRepository-2.0-expected.xml +++ b/tests/doctool/GIRepository-2.0-expected.xml @@ -52,6 +52,7 @@ 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. @@ -294,8 +295,10 @@ deprecated or not. 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 and must not be freed. + <example> <title>Iterating over attributes</title> <programlisting> @@ -427,6 +430,8 @@ drops to 0, the info is freed. GList * g_irepository_enumerate_versions (GIRepository *repository, gchar *namespace_); +GIEnumInfo * g_irepository_find_by_error_domain (GIRepository *repository, + GQuark domain); GIBaseInfo * g_irepository_find_by_gtype (GIRepository *repository, GType gtype); GIBaseInfo * g_irepository_find_by_name (GIRepository *repository, @@ -516,6 +521,53 @@ available) for @namespace_ in this @repository. + + g_irepository_find_by_error_domain () + + find_by_error_domain + + +GIEnumInfo * g_irepository_find_by_error_domain (GIRepository *repository, + 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 + + + +repository : + + + instance + + + + + +domain : + + + a #GError domain + + + + + +Returns : + + + #GIEnumInfo representing metadata about @domain's + +[transfer full] + + + + + g_irepository_find_by_gtype () @@ -575,7 +627,7 @@ when you know the GType to originate from be from a loaded namespace. 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 +g_irepository_require() once to load the namespace, or otherwise ensure the namespace has already been loaded. @@ -630,7 +682,8 @@ ensure the namespace has already been loaded. 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. -such as #g_irepository_require before calling this function. + +such as g_irepository_require() before calling this function. @@ -672,7 +725,8 @@ such as #g_irepository_require before calling this function. Return an array of all (transitive) dependencies for namespace form <code>namespace-version</code>. -such as #g_irepository_require before calling this function. + +such as g_irepository_require() before calling this function. @@ -848,7 +902,8 @@ already been loaded before calling this function. associated with the given namespace @namespace_. There may be no shared library path associated, in which case this function will return %NULL. -such as #g_irepository_require before calling this function. + +such as g_irepository_require() before calling this function. @@ -933,7 +988,8 @@ the special string "$lt;builtin$gt;". This function returns the loaded version associated with the given namespace @namespace_. -such as #g_irepository_require before calling this function. + +such as g_irepository_require() before calling this function. @@ -977,7 +1033,7 @@ such as #g_irepository_require before calling this function. 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 +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. -- 2.7.4