[gobject-introspection] Update annotations for GIRepository.Repository.
- From: Johan Dahlin <johan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] Update annotations for GIRepository.Repository.
- Date: Wed, 15 Sep 2010 12:50:13 +0000 (UTC)
commit 517400b8279cd68f6c1e6d16457d9471ddf0a6b2
Author: Pavel Holejsovsky <pavel holejsovsky gmail com>
Date: Fri Sep 10 14:33:15 2010 +0200
Update annotations for GIRepository.Repository.
https://bugzilla.gnome.org/show_bug.cgi?id=628753
girepository/girepository.c | 26 +++++++++++++-------------
girepository/gitypelib.c | 6 +++---
2 files changed, 16 insertions(+), 16 deletions(-)
---
diff --git a/girepository/girepository.c b/girepository/girepository.c
index 0908099..7a768a9 100644
--- a/girepository/girepository.c
+++ b/girepository/girepository.c
@@ -374,7 +374,7 @@ register_internal (GIRepository *repository,
/**
* g_irepository_get_dependencies:
- * @repository: A #GIRepository, may be %NULL for the default
+ * @repository: (allow-none): A #GIRepository, may be %NULL for the default
* @namespace_: Namespace of interest
*
* Return an array of all (transitive) dependencies for namespace
@@ -440,7 +440,7 @@ g_irepository_load_typelib (GIRepository *repository,
/**
* g_irepository_is_registered:
- * @repository: A #GIRepository, may be %NULL for the default
+ * @repository: (allow-none): A #GIRepository, may be %NULL for the default
* @namespace_: Namespace of interest
* @version: (allow-none): Required version, may be %NULL for latest
*
@@ -486,7 +486,7 @@ g_irepository_get_default (void)
/**
* g_irepository_get_n_infos:
- * @repository: A #GIRepository, may be %NULL for the default
+ * @repository: (allow-none): A #GIRepository, may be %NULL for the default
* @namespace_: Namespace to inspect
*
* This function returns the number of metadata entries in
@@ -619,7 +619,7 @@ find_interface (gpointer key,
/**
* g_irepository_get_info:
- * @repository: A #GIRepository, may be %NULL for the default
+ * @repository: (allow-none): A #GIRepository, may be %NULL for the default
* @namespace_: Namespace to inspect
* @index: Offset into namespace metadata for entry
*
@@ -658,7 +658,7 @@ g_irepository_get_info (GIRepository *repository,
/**
* g_irepository_find_by_gtype:
- * @repository: A #GIRepository, may be %NULL for the default
+ * @repository: (allow-none): A #GIRepository, may be %NULL for the default
* @gtype: GType to search for
*
* Searches all loaded namespaces for a particular #GType. Note that
@@ -712,7 +712,7 @@ g_irepository_find_by_gtype (GIRepository *repository,
/**
* g_irepository_find_by_name:
- * @repository: A #GIRepository, may be %NULL for the default
+ * @repository: (allow-none): A #GIRepository, may be %NULL for the default
* @namespace_: Namespace which will be searched
* @name: Entry name to find
*
@@ -762,7 +762,7 @@ collect_namespaces (gpointer key,
/**
* g_irepository_get_loaded_namespaces:
- * @repository: A #GIRepository, may be %NULL for the default
+ * @repository: (allow-none): A #GIRepository, may be %NULL for the default
*
* Return the list of currently loaded namespaces.
*
@@ -791,7 +791,7 @@ g_irepository_get_loaded_namespaces (GIRepository *repository)
/**
* g_irepository_get_version:
- * @repository: A #GIRepository, may be %NULL for the default
+ * @repository: (allow-none): A #GIRepository, may be %NULL for the default
* @namespace_: Namespace to inspect
*
* This function returns the loaded version associated with the given
@@ -823,7 +823,7 @@ g_irepository_get_version (GIRepository *repository,
/**
* g_irepository_get_shared_library:
- * @repository: A #GIRepository, may be %NULL for the default
+ * @repository: (allow-none): A #GIRepository, may be %NULL for the default
* @namespace_: Namespace to inspect
*
* This function returns the full path to the shared C library
@@ -860,7 +860,7 @@ g_irepository_get_shared_library (GIRepository *repository,
/**
* g_irepository_get_c_prefix
- * @repository: A #GIRepository, may be %NULL for the default
+ * @repository: (allow-none): A #GIRepository, may be %NULL for the default
* @namespace_: Namespace to inspect
*
* This function returns the "C prefix", or the C level namespace
@@ -896,7 +896,7 @@ g_irepository_get_c_prefix (GIRepository *repository,
/**
* g_irepository_get_typelib_path
- * @repository: Repository, may be %NULL for the default
+ * @repository: (allow-none): Repository, may be %NULL for the default
* @namespace_: GI namespace to use, e.g. "Gtk"
*
* If namespace @namespace_ is loaded, return the full path to the
@@ -1337,7 +1337,7 @@ require_internal (GIRepository *repository,
* version @version of namespace may be specified. If @version is
* not specified, the latest will be used.
*
- * Returns: (transfer full): a pointer to the #GITypelib if successful, %NULL otherwise
+ * Returns: (transfer none): a pointer to the #GITypelib if successful, %NULL otherwise
*/
GITypelib *
g_irepository_require (GIRepository *repository,
@@ -1372,7 +1372,7 @@ g_irepository_require (GIRepository *repository,
* version @version of namespace should be specified. If @version is
* not specified, the latest will be used.
*
- * Returns: (transfer full): a pointer to the #GITypelib if successful, %NULL otherwise
+ * Returns: (transfer none): a pointer to the #GITypelib if successful, %NULL otherwise
*/
GITypelib *
g_irepository_require_private (GIRepository *repository,
diff --git a/girepository/gitypelib.c b/girepository/gitypelib.c
index faeb3fc..9e818b9 100644
--- a/girepository/gitypelib.c
+++ b/girepository/gitypelib.c
@@ -2069,7 +2069,7 @@ _g_typelib_ensure_open (GITypelib *typelib)
}
/**
- * g_typelib_new_from_memory:
+ * g_typelib_new_from_memory: (skip)
* @memory: address of memory chunk containing the typelib
* @len: length of memory chunk containing the typelib
* @error: a #GError
@@ -2100,7 +2100,7 @@ g_typelib_new_from_memory (guint8 *memory,
}
/**
- * g_typelib_new_from_const_memory:
+ * g_typelib_new_from_const_memory: (skip)
* @memory: address of memory chunk containing the typelib
* @len: length of memory chunk containing the typelib
* @error: A #GError
@@ -2129,7 +2129,7 @@ g_typelib_new_from_const_memory (const guchar *memory,
}
/**
- * g_typelib_new_from_mapped_file:
+ * g_typelib_new_from_mapped_file: (skip)
* @mfile: a #GMappedFile, that will be free'd when the repository is destroyed
* @error: a #GError
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]