mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Document g_irepository_get_dependencies
svn path=/trunk/; revision=701
This commit is contained in:
parent
0103bf1fe3
commit
5069680682
@ -306,6 +306,20 @@ register_internal (GIRepository *repository,
|
||||
return namespace;
|
||||
}
|
||||
|
||||
/**
|
||||
* g_irepository_get_dependencies
|
||||
* @repository: A #GIRepository, may be %NULL for the default
|
||||
* @namespace: Namespace of interest
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* Returns: Zero-terminated string array of versioned dependencies
|
||||
*/
|
||||
char **
|
||||
g_irepository_get_dependencies (GIRepository *repository,
|
||||
const char *namespace)
|
||||
|
@ -81,7 +81,7 @@ const char * g_irepository_load_typelib (GIRepository *repository,
|
||||
GTypelib *typelib,
|
||||
GIRepositoryLoadFlags flags,
|
||||
GError **error);
|
||||
gboolean g_irepository_is_registered (GIRepository *repository,
|
||||
gboolean g_irepository_is_registered (GIRepository *repository,
|
||||
const gchar *namespace,
|
||||
const gchar *version);
|
||||
GIBaseInfo * g_irepository_find_by_name (GIRepository *repository,
|
||||
@ -89,7 +89,7 @@ GIBaseInfo * g_irepository_find_by_name (GIRepository *repository,
|
||||
const gchar *name);
|
||||
gboolean g_irepository_require (GIRepository *repository,
|
||||
const gchar *namespace,
|
||||
const gchar *version,
|
||||
const gchar *version,
|
||||
GIRepositoryLoadFlags flags,
|
||||
GError **error);
|
||||
gchar ** g_irepository_get_dependencies (GIRepository *repository,
|
||||
|
Loading…
Reference in New Issue
Block a user