enum cutext_wccat_t |
Enumeration of the Unicode 5.1.0 character categories.
cutext_wccat_t cutext_wccat_by_name | ( | char * | name | ) |
Returns the general category denoted by its two-letter name name, or CUTEXT_WCCAT_NONE if name is invalid.
cu_bool_t cutext_wccat_is_letter | ( | cutext_wccat_t | ct | ) |
True iff ct is in the "letter" ("L*") main category.
cu_bool_t cutext_wccat_is_mark | ( | cutext_wccat_t | ct | ) |
True iff ct is in the "mark" ("M*") main category.
cu_bool_t cutext_wccat_is_number | ( | cutext_wccat_t | ct | ) |
True iff ct is in the "number" ("N*") main category.
cu_bool_t cutext_wccat_is_other | ( | cutext_wccat_t | ct | ) |
True iff ct is in the "other" ("C*") main category.
cu_bool_t cutext_wccat_is_punctuation | ( | cutext_wccat_t | ct | ) |
True iff ct is in the "punctuation" ("P*") main category.
cu_bool_t cutext_wccat_is_separator | ( | cutext_wccat_t | ct | ) |
True iff ct is in the "separator" ("Z*") main category.
cu_bool_t cutext_wccat_is_symbol | ( | cutext_wccat_t | ct | ) |
True iff ct is in the "symbol" ("S*") main category.
cutext_wccat_t cutext_wchar_wccat | ( | cu_wint_t | ch | ) |
Returns the general category of ch.