mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 15:56:23 +01:00
[GIRepository] Rename g_irepository_enumerate
Rename it to g_irepository_enumerate_versions
This commit is contained in:
parent
da698167a0
commit
ab9085eda3
@ -1165,15 +1165,16 @@ find_namespace_latest (const gchar *namespace,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* g_irepository_enumerate:
|
* g_irepository_enumerate_versions:
|
||||||
* @repository: (allow-none): Repository
|
* @repository: (allow-none): the repository
|
||||||
* @namespace_: GI namespace, e.g. "Gtk"
|
* @namespace_: GI namespace, e.g. "Gtk"
|
||||||
*
|
*
|
||||||
* Returns: (element-type utf8) (transfer full): An array of versions available for
|
* Obtain a list of versions for @namespace_ in this @repository.
|
||||||
* this namespace.
|
*
|
||||||
|
* Returns: (element-type utf8) (transfer full): the array of versions.
|
||||||
*/
|
*/
|
||||||
GList *
|
GList *
|
||||||
g_irepository_enumerate (GIRepository *repository,
|
g_irepository_enumerate_versions (GIRepository *repository,
|
||||||
const gchar *namespace_)
|
const gchar *namespace_)
|
||||||
{
|
{
|
||||||
GList *ret = NULL;
|
GList *ret = NULL;
|
||||||
|
@ -101,7 +101,7 @@ gboolean g_irepository_is_registered (GIRepository *repository,
|
|||||||
GIBaseInfo * g_irepository_find_by_name (GIRepository *repository,
|
GIBaseInfo * g_irepository_find_by_name (GIRepository *repository,
|
||||||
const gchar *namespace_,
|
const gchar *namespace_,
|
||||||
const gchar *name);
|
const gchar *name);
|
||||||
GList * g_irepository_enumerate (GIRepository *repository,
|
GList * g_irepository_enumerate_versions (GIRepository *repository,
|
||||||
const gchar *namespace_);
|
const gchar *namespace_);
|
||||||
GTypelib * g_irepository_require (GIRepository *repository,
|
GTypelib * g_irepository_require (GIRepository *repository,
|
||||||
const gchar *namespace_,
|
const gchar *namespace_,
|
||||||
|
Loading…
Reference in New Issue
Block a user