提交 26092bb3 编写于 作者: H HinTak 提交者: Behdad Esfahbod

"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
上级 ba426516
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册