From a834b8b03844b477530f2673181dff2080008d0b Mon Sep 17 00:00:00 2001 From: velsinki <112010-velsinki@users.noreply.gitlab.gnome.org> Date: Thu, 25 Jan 2024 11:35:12 +0000 Subject: [PATCH] gstrfuncs: Add missing (array) annotations to GStrv comparison functions --- glib/gstrfuncs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/glib/gstrfuncs.c b/glib/gstrfuncs.c index 91fe07a3d..4f9178148 100644 --- a/glib/gstrfuncs.c +++ b/glib/gstrfuncs.c @@ -3204,7 +3204,7 @@ one_matched: /** * g_strv_contains: - * @strv: a %NULL-terminated array of strings + * @strv: (array zero-terminated=1): a %NULL-terminated array of strings * @str: a string * * Checks if @strv contains @str. @strv must not be %NULL. @@ -3231,8 +3231,8 @@ g_strv_contains (const gchar * const *strv, /** * g_strv_equal: - * @strv1: a %NULL-terminated array of strings - * @strv2: another %NULL-terminated array of strings + * @strv1: (array zero-terminated=1): a %NULL-terminated array of strings + * @strv2: (array zero-terminated=1): another %NULL-terminated array of strings * * Checks if @strv1 and @strv2 contain exactly the same elements in exactly the * same order. Elements are compared using g_str_equal(). To match independently