[HarfBuzz] harfbuzz: Branch 'master'
Behdad Esfahbod
behdad at kemper.freedesktop.org
Wed Oct 17 00:36:23 UTC 2018
src/hb-ot-tag.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 26092bb3d1aa239de5e933700e0371619d147f65
Author: HinTak <htl10 at users.sourceforge.net>
Date: Wed Oct 17 00:54:39 2018 +0100
"allow-none" annotation for "out" parameters
Fixes the following warnings:
hb-ot-tag.cc:330: Warning: HarfBuzz: invalid "allow-none" annotation: only valid for pointer types and out parameters
hb-ot-tag.cc:334: Warning: HarfBuzz: invalid "allow-none" annotation: only valid for pointer types and out parameters
diff --git a/src/hb-ot-tag.cc b/src/hb-ot-tag.cc
index df372e33..7bcc63ab 100644
--- a/src/hb-ot-tag.cc
+++ b/src/hb-ot-tag.cc
@@ -327,11 +327,11 @@ parse_private_use_subtag (const char *private_use_subtag,
* @language: an #hb_language_t to convert.
* @script_count: (allow-none): maximum number of script tags to retrieve (IN)
* and actual number of script tags retrieved (OUT)
- * @script_tags: (allow-none): array of size at least @script_count to store the
+ * @script_tags: (out) (allow-none): array of size at least @script_count to store the
* script tag results
* @language_count: (allow-none): maximum number of language tags to retrieve
* (IN) and actual number of language tags retrieved (OUT)
- * @language_tags: (allow-none): array of size at least @language_count to store
+ * @language_tags: (out) (allow-none): array of size at least @language_count to store
* the language tag results
*
* Converts an #hb_script_t and an #hb_language_t to script and language tags.
More information about the HarfBuzz
mailing list