[libgit2-glib] oid: Annotate the byte array when getting raw data



commit 89a5ad1b0153cc90d9ac140941ac050297bc0014
Author: Corentin Noël <corentin elementary io>
Date:   Wed Mar 13 09:50:33 2019 +0000

    oid: Annotate the byte array when getting raw data

 libgit2-glib/ggit-oid.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgit2-glib/ggit-oid.c b/libgit2-glib/ggit-oid.c
index 6284aa5..919c25a 100644
--- a/libgit2-glib/ggit-oid.c
+++ b/libgit2-glib/ggit-oid.c
@@ -104,7 +104,7 @@ ggit_oid_new_from_string (const gchar *str)
 
 /**
  * ggit_oid_new_from_raw:
- * @raw: the raw input bytes to be copied.
+ * @raw: (array zero-terminated=1) (element-type guchar): the raw input bytes to be copied.
  *
  * Creates a new #GgitOId from a raw oid.
  *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]