[libgit2-glib] ggit-diff-options.c: Fix return annotations
- From: Igor Gnatenko <ignatenko src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgit2-glib] ggit-diff-options.c: Fix return annotations
- Date: Fri, 1 Sep 2017 06:08:52 +0000 (UTC)
commit b68c4b7729526df9e24f3f273d8df5411b214818
Author: Brian C. Lane <bcl redhat com>
Date: Wed Aug 30 11:40:06 2017 -0700
ggit-diff-options.c: Fix return annotations
Add (nullable) where needed.
libgit2-glib/ggit-diff-options.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libgit2-glib/ggit-diff-options.c b/libgit2-glib/ggit-diff-options.c
index 299d23c..867e51b 100644
--- a/libgit2-glib/ggit-diff-options.c
+++ b/libgit2-glib/ggit-diff-options.c
@@ -241,7 +241,7 @@ ggit_diff_options_init (GgitDiffOptions *options)
*
* Create a new diff options object.
*
- * Returns: a #GgitDiffOptions.
+ * Returns: (transfer full) (nullable): a #GgitDiffOptions or %NULL.
*
**/
GgitDiffOptions *
@@ -403,7 +403,7 @@ ggit_diff_options_set_n_interhunk_lines (GgitDiffOptions *options,
*
* Get the diff old-prefix string.
*
- * Returns: the old-prefix string.
+ * Returns: (transfer full) (nullable): the old-prefix string or %NULL.
*
**/
const gchar *
@@ -449,7 +449,7 @@ ggit_diff_options_set_old_prefix (GgitDiffOptions *options,
*
* Get the diff new-prefix string.
*
- * Returns: the new-prefix string.
+ * Returns: (transfer none) (nullable): the new-prefix string or %NULL.
*
**/
const gchar *
@@ -495,7 +495,7 @@ ggit_diff_options_set_new_prefix (GgitDiffOptions *options,
*
* Get the pathspec.
*
- * Returns: (transfer none) (array zero-terminated=1): the pathspec.
+ * Returns: (transfer none) (array zero-terminated=1) (nullable): the pathspec or %NULL.
*
**/
const gchar **
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]