Method
Pango.Language.matches
Declaration [src]
gboolean
pango_language_matches (
PangoLanguage* language,
const char* range_list
)
Description [src]
Checks if a language tag matches one of the elements in a list of language ranges.
A language tag is considered to match a range in the list if the range is ‘*’, the range is exactly the tag, or the range is a prefix of the tag, and the character after it in the tag is ‘-‘.
Parameters
range_list |
const char* |
a list of language ranges, separated by ‘;’, ‘:’, ‘,’, or space characters. Each element must either be ‘*’, or a RFC 3066 language range canonicalized as by [type_func@Pango.Language.from_string] |
|
Ownership is not transferred to the callee | |
The string is a NUL terminated UTF-8 string |