[libgit2-glib] Added missing array length parameters on callbacks
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgit2-glib] Added missing array length parameters on callbacks
- Date: Mon, 9 Jul 2012 20:51:58 +0000 (UTC)
commit 3b57c9bbfef063613064a0dcad485c547d0e55aa
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date: Mon Jul 9 22:51:07 2012 +0200
Added missing array length parameters on callbacks
libgit2-glib/ggit-types.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgit2-glib/ggit-types.h b/libgit2-glib/ggit-types.h
index a28bf19..7aa23b5 100644
--- a/libgit2-glib/ggit-types.h
+++ b/libgit2-glib/ggit-types.h
@@ -581,7 +581,7 @@ typedef gint (* GgitDiffFileCallback) (GgitDiffDelta *delta,
* GgitDiffHunkCallback:
* @delta: a #GgitDiffDelta.
* @range: a #GgitDiffRange.
- * @header: the header.
+ * @header: (array length=header_len) (element-type guint8): the header.
* @header_len: the header length.
* @user_data: (closure): user-supplied data.
*
@@ -600,7 +600,7 @@ typedef gint (* GgitDiffHunkCallback) (GgitDiffDelta *delta,
* @delta: a #GgitDiffDelta.
* @range: a #GgitDiffRange.
* @line_type: a #GgitDiffLineType.
- * @content: the content.
+ * @content: (array length=content_len) (element-type guint8): the content.
* @content_len: the content length.
* @user_data: (closure): user-supplied data.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]