[glib: 1/2] goption: Fix an annotation on g_option_context_parse_strv()



commit 3987e679a9dbc4d406cd5091e7dc3129e6253e27
Author: Philip Withnall <withnall endlessm com>
Date:   Mon Dec 17 14:32:29 2018 +0000

    goption: Fix an annotation on g_option_context_parse_strv()
    
    It’s `zero-terminated`, not `null-terminated` (yes, this is esoteric and
    hard to remember).
    
    Signed-off-by: Philip Withnall <withnall endlessm com>

 glib/goption.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/glib/goption.c b/glib/goption.c
index 4b2abc057..83c5eb29e 100644
--- a/glib/goption.c
+++ b/glib/goption.c
@@ -2659,7 +2659,7 @@ g_option_context_get_description (GOptionContext *context)
 /**
  * g_option_context_parse_strv:
  * @context: a #GOptionContext
- * @arguments: (inout) (array null-terminated=1): a pointer to the
+ * @arguments: (inout) (array zero-terminated=1): a pointer to the
  *    command line arguments (which must be in UTF-8 on Windows)
  * @error: a return location for errors
  *


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