[glib: 1/11] Add missing introspection annotations to gvdb_table_get_names()



commit 7bed7ea77dfd2634d3fceaafaacd9764bf76e709
Author: Philip Withnall <withnall endlessm com>
Date:   Thu Aug 16 15:36:10 2018 +0100

    Add missing introspection annotations to gvdb_table_get_names()
    
    Signed-off-by: Philip Withnall <withnall endlessm com>

 gvdb-reader.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gvdb-reader.c b/gvdb-reader.c
index aa3154feb..c2ee84d2b 100644
--- a/gvdb-reader.c
+++ b/gvdb-reader.c
@@ -332,7 +332,7 @@ gvdb_table_list_from_item (GvdbTable                    *table,
 /**
  * gvdb_table_get_names:
  * @table: a #GvdbTable
- * @length: the number of items returned, or %NULL
+ * @length: (optional): the number of items returned, or %NULL
  *
  * Gets a list of all names contained in @table.
  *
@@ -344,7 +344,7 @@ gvdb_table_list_from_item (GvdbTable                    *table,
  * above calls in the case of the corrupted file.  Note also that the
  * returned strings may not be utf8.
  *
- * Returns: a %NULL-terminated list of strings, of length @length
+ * Returns: (array length=length): a %NULL-terminated list of strings, of length @length
  **/
 gchar **
 gvdb_table_get_names (GvdbTable *table,


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