"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
This commit is contained in:
parent
ba42651608
commit
26092bb3d1
|
@ -327,11 +327,11 @@ parse_private_use_subtag (const char *private_use_subtag,
|
||||||
* @language: an #hb_language_t to convert.
|
* @language: an #hb_language_t to convert.
|
||||||
* @script_count: (allow-none): maximum number of script tags to retrieve (IN)
|
* @script_count: (allow-none): maximum number of script tags to retrieve (IN)
|
||||||
* and actual number of script tags retrieved (OUT)
|
* 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
|
* script tag results
|
||||||
* @language_count: (allow-none): maximum number of language tags to retrieve
|
* @language_count: (allow-none): maximum number of language tags to retrieve
|
||||||
* (IN) and actual number of language tags retrieved (OUT)
|
* (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
|
* the language tag results
|
||||||
*
|
*
|
||||||
* Converts an #hb_script_t and an #hb_language_t to script and language tags.
|
* Converts an #hb_script_t and an #hb_language_t to script and language tags.
|
||||||
|
|
Loading…
Reference in New Issue