[libgit2-glib/wip/tintou/oid-annotation] oid: Annotate the byte array when getting raw data



commit c6488db717dbd6b43d72cb6ed11632ae81d5e5d1
Author: Corentin Noël <corentin noel collabora com>
Date:   Fri Mar 8 18:14:06 2019 +0100

    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..d89b74d 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 guint8): 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]