[libgit2-glib] Mark pathspec as null terminated array
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgit2-glib] Mark pathspec as null terminated array
- Date: Wed, 3 Jul 2013 12:07:27 +0000 (UTC)
commit bf63ccbafff13ce67b070fd783d673dceb63a821
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Wed Jul 3 13:59:39 2013 +0200
Mark pathspec as null terminated array
libgit2-glib/ggit-diff-options.c | 2 +-
libgit2-glib/ggit-status-options.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgit2-glib/ggit-diff-options.c b/libgit2-glib/ggit-diff-options.c
index 73bf24b..b1ff684 100644
--- a/libgit2-glib/ggit-diff-options.c
+++ b/libgit2-glib/ggit-diff-options.c
@@ -106,7 +106,7 @@ ggit_diff_options_free (GgitDiffOptions *diff_options)
* @n_interhunk_lines: the number of interhunk lines, default is 3.
* @old_prefix: (allow-none): the old prefix, defaults to "a".
* @new_prefix: (allow-none): the new prefix, defaults to "b".
- * @pathspec: (allow-none): which paths to show, defaults to showing all paths.
+ * @pathspec: (allow-none) (array zero-terminated=1): which paths to show, defaults to showing all paths.
*
* Creates a new #GgitDiffOptions for use in creating a #GgitDiff.
*
diff --git a/libgit2-glib/ggit-status-options.c b/libgit2-glib/ggit-status-options.c
index 942b6d8..4208936 100644
--- a/libgit2-glib/ggit-status-options.c
+++ b/libgit2-glib/ggit-status-options.c
@@ -92,7 +92,7 @@ ggit_status_options_free (GgitStatusOptions *status_options)
* ggit_status_options_new:
* @options: status options.
* @show: status show options.
- * @pathspec: (allow-none): which paths to show, defaults to showing all paths.
+ * @pathspec: (allow-none) (array zero-terminated=1): which paths to show, defaults to showing all paths.
*
* Creates a new #GgitStatusOptions for use in #ggit_repository_stash_foreach.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]