[libgit2-glib] ggit-config-entry.c: Fix return annotations
- From: Igor Gnatenko <ignatenko src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgit2-glib] ggit-config-entry.c: Fix return annotations
- Date: Fri, 1 Sep 2017 06:09:58 +0000 (UTC)
commit d3877b2dd1aca45b8337cfc68d2103c4f4678dd4
Author: Brian C. Lane <bcl redhat com>
Date: Wed Aug 30 15:59:41 2017 -0700
ggit-config-entry.c: Fix return annotations
Add (nullable) as needed.
libgit2-glib/ggit-config-entry.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgit2-glib/ggit-config-entry.c b/libgit2-glib/ggit-config-entry.c
index e3ff265..583d16e 100644
--- a/libgit2-glib/ggit-config-entry.c
+++ b/libgit2-glib/ggit-config-entry.c
@@ -50,7 +50,7 @@ _ggit_config_entry_wrap (const git_config_entry *entry)
* Atomically increments the reference count of @entry by one.
* This function is MT-safe and may be called from any thread.
*
- * Returns: (transfer none): a #GgitConfigEntry.
+ * Returns: (transfer none) (nullable): a #GgitConfigEntry or %NULL.
**/
GgitConfigEntry *
ggit_config_entry_ref (GgitConfigEntry *entry)
@@ -86,7 +86,7 @@ ggit_config_entry_unref (GgitConfigEntry *entry)
*
* Gets the name of @entry.
*
- * Returns: the name of @entry:
+ * Returns: (transfer none) (nullable): the name of @entry or %NULL.
*/
const gchar *
ggit_config_entry_get_name (GgitConfigEntry *entry)
@@ -102,7 +102,7 @@ ggit_config_entry_get_name (GgitConfigEntry *entry)
*
* Gets the value of @entry.
*
- * Returns: the value of @entry.
+ * Returns: (transfer none) (nullable): the value of @entry or %NULL.
*/
const gchar *
ggit_config_entry_get_value (GgitConfigEntry *entry)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]