diff options
author | Bilal Elmoussaoui <bil.elmoussaoui@gmail.com> | 2021-10-30 11:30:12 +0000 |
---|---|---|
committer | Bilal Elmoussaoui <bil.elmoussaoui@gmail.com> | 2021-10-30 11:30:12 +0000 |
commit | b78052325dec9f21245b98adf8ab2cbea419f988 (patch) | |
tree | 4d83e642c2a869c79066d125edf973f32af3580e | |
parent | 41282738c1949728f912ed2619ffe050d9dce606 (diff) | |
download | pango-b78052325dec9f21245b98adf8ab2cbea419f988.tar.gz |
gi: add array annotations to get_languages
Also drops the null-terminated doc comment as gi-docgen shows that already
if the function is annotated properly
-rw-r--r-- | pango/fonts.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pango/fonts.c b/pango/fonts.c index 63325c22..fd98d91e 100644 --- a/pango/fonts.c +++ b/pango/fonts.c @@ -2699,8 +2699,7 @@ pango_font_get_features (PangoFont *font, * 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) (element-type PangoLanguage): an array of `PangoLanguage` * * Since: 1.50 */ |