[glib: 1/2] gunidecomp: Add (out) annotations to g_unichar_{de, }compose()
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] gunidecomp: Add (out) annotations to g_unichar_{de, }compose()
- Date: Fri, 21 Jun 2019 17:03:14 +0000 (UTC)
commit 79502febe084d0605254101b7380837c6efd4187
Author: Philip Withnall <withnall endlessm com>
Date: Thu Jun 20 23:33:58 2019 +0100
gunidecomp: Add (out) annotations to g_unichar_{de,}compose()
The `(out)` and (unusually) `(not optional)` annotations were missing.
Signed-off-by: Philip Withnall <withnall endlessm com>
Fixes: #1811
glib/gunidecomp.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/glib/gunidecomp.c b/glib/gunidecomp.c
index b85351883..a9ca3c46e 100644
--- a/glib/gunidecomp.c
+++ b/glib/gunidecomp.c
@@ -571,8 +571,8 @@ decompose_hangul_step (gunichar ch,
/**
* g_unichar_decompose:
* @ch: a Unicode character
- * @a: return location for the first component of @ch
- * @b: return location for the second component of @ch
+ * @a: (out) (not optional): return location for the first component of @ch
+ * @b: (out) (not optional): return location for the second component of @ch
*
* Performs a single decomposition step of the
* Unicode canonical decomposition algorithm.
@@ -646,7 +646,7 @@ g_unichar_decompose (gunichar ch,
* g_unichar_compose:
* @a: a Unicode character
* @b: a Unicode character
- * @ch: return location for the composed character
+ * @ch: (out) (not optional): return location for the composed character
*
* Performs a single composition step of the
* Unicode canonical composition algorithm.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]