[pango/bilelmoussaoui/gi-annotations] gi: add array annotations to get_languages




commit b78052325dec9f21245b98adf8ab2cbea419f988
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date:   Sat Oct 30 11:30:12 2021 +0000

    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

 pango/fonts.c | 3 +--
 1 file changed, 1 insertion(+), 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
  */


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