diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-05-27 14:38:09 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-05-27 14:41:28 +0000 |
commit | 3883d19990415d03d247bc6cbf8f344e2160db88 (patch) | |
tree | 808e621912b2a941c5c8c2665086b8a1f1ad4d8a /pango/pango-language.c | |
parent | cdfb0e3b46066bcc493228f9a409b60ecb7b31a5 (diff) | |
download | pango-3883d19990415d03d247bc6cbf8f344e2160db88.tar.gz |
Add a note to pango_language_get_scripts docs
Explain that returned script values are, in fact,
from the GUnicodeScript enumeration.
Diffstat (limited to 'pango/pango-language.c')
-rw-r--r-- | pango/pango-language.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pango/pango-language.c b/pango/pango-language.c index 725559fa..0c195844 100644 --- a/pango/pango-language.c +++ b/pango/pango-language.c @@ -638,6 +638,10 @@ pango_language_get_sample_string (PangoLanguage *language) * The pango_language_includes_script() function uses this function * internally. * + * Note: while the return value is declared as PangoScript, the + * returned values are from the GUnicodeScript enumeration, which + * may have more values. Callers need to handle unknown values. + * * Return value: (array length=num_scripts) (nullable): An array of * #PangoScript values, with the number of entries in the array stored * in @num_scripts, or %NULL if Pango does not have any information |