diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2022-11-17 22:43:29 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2022-11-17 22:43:29 +0200 |
commit | 80d4b11e13cfbbb02025e542721dffcc29050717 (patch) | |
tree | ef2ffea9eaa8798cd4ca76cdd6d1b8459d53ebec /pango | |
parent | d616f88dbb6dd5360eebf8ab42884fb90583218b (diff) | |
download | pango-80d4b11e13cfbbb02025e542721dffcc29050717.tar.gz |
Fix some g-i annotations related to arrays
Diffstat (limited to 'pango')
-rw-r--r-- | pango/pango-language.c | 5 | ||||
-rw-r--r-- | pango/pangofc-font.c | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/pango/pango-language.c b/pango/pango-language.c index b963ef13..410e6f98 100644 --- a/pango/pango-language.c +++ b/pango/pango-language.c @@ -617,8 +617,7 @@ pango_language_get_sample_string (PangoLanguage *language) /** * pango_language_get_scripts: * @language: (nullable): a `PangoLanguage` - * @num_scripts: (out caller-allocates) (optional): location to - * return number of scripts + * @num_scripts: (out) (optional): location to return number of scripts * * Determines the scripts used to to write @language. * @@ -853,7 +852,7 @@ out: * you should first try the default language, followed by the * languages returned by this function. * - * Returns: (transfer none) (nullable): a %NULL-terminated array + * Returns: (transfer none) (nullable) (array zero-terminated=1): a %NULL-terminated array * of `PangoLanguage`* * * Since: 1.48 diff --git a/pango/pangofc-font.c b/pango/pangofc-font.c index 053e93cd..d0077b34 100644 --- a/pango/pangofc-font.c +++ b/pango/pangofc-font.c @@ -1091,8 +1091,8 @@ done: * The returned array is only valid as long as the font * and its fontmap are valid. * - * Returns: (transfer none) (nullable): a %NULL-terminated - * array of `PangoLanguage`* + * Returns: (transfer none) (nullable) (array zero-terminated=1): a + * %NULL-terminated array of `PangoLanguage`* * * Since: 1.48 * Deprecated: 1.50: Use pango_font_get_language() |