[glib: 1/3] gunidecomp: Fix a (nullable) annotation which should be (optional)



commit 5380f417dcee6f4c4951b1b6098d84ffdcb90a9f
Author: Philip Withnall <withnall endlessm com>
Date:   Fri Jun 21 11:03:59 2019 +0100

    gunidecomp: Fix a (nullable) annotation which should be (optional)
    
    Signed-off-by: Philip Withnall <withnall endlessm com>
    
    Helps: #872

 glib/gunidecomp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/glib/gunidecomp.c b/glib/gunidecomp.c
index b85351883..3afd156c1 100644
--- a/glib/gunidecomp.c
+++ b/glib/gunidecomp.c
@@ -685,7 +685,7 @@ g_unichar_compose (gunichar  a,
  * g_unichar_fully_decompose:
  * @ch: a Unicode character.
  * @compat: whether perform canonical or compatibility decomposition
- * @result: (nullable): location to store decomposed result, or %NULL
+ * @result: (optional) (out caller-allocates): location to store decomposed result, or %NULL
  * @result_len: length of @result
  *
  * Computes the canonical or compatibility decomposition of a


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