mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-14 13:26:16 +01:00
goption: Add missing (array) annotation to add_main_entries()
Signed-off-by: Philip Withnall <withnall@endlessm.com> Fixes: #1813
This commit is contained in:
parent
92cd91cee6
commit
697dacdadf
@ -640,7 +640,7 @@ g_option_context_get_main_group (GOptionContext *context)
|
|||||||
/**
|
/**
|
||||||
* g_option_context_add_main_entries:
|
* g_option_context_add_main_entries:
|
||||||
* @context: a #GOptionContext
|
* @context: a #GOptionContext
|
||||||
* @entries: a %NULL-terminated array of #GOptionEntrys
|
* @entries: (array zero-terminated=1): a %NULL-terminated array of #GOptionEntrys
|
||||||
* @translation_domain: (nullable): a translation domain to use for translating
|
* @translation_domain: (nullable): a translation domain to use for translating
|
||||||
* the `--help` output for the options in @entries
|
* the `--help` output for the options in @entries
|
||||||
* with gettext(), or %NULL
|
* with gettext(), or %NULL
|
||||||
@ -2392,7 +2392,7 @@ g_option_group_unref (GOptionGroup *group)
|
|||||||
/**
|
/**
|
||||||
* g_option_group_add_entries:
|
* g_option_group_add_entries:
|
||||||
* @group: a #GOptionGroup
|
* @group: a #GOptionGroup
|
||||||
* @entries: a %NULL-terminated array of #GOptionEntrys
|
* @entries: (array zero-terminated=1): a %NULL-terminated array of #GOptionEntrys
|
||||||
*
|
*
|
||||||
* Adds the options specified in @entries to @group.
|
* Adds the options specified in @entries to @group.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user