1
0
forked from GitHub/gf-core

add Unicode classification routines to libgu. ported from the base package in Haskell.

This commit is contained in:
kr.angelov
2014-10-22 14:36:58 +00:00
parent c8b3865338
commit df113f9cc4
2 changed files with 4760 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -36,4 +36,20 @@ gu_str_to_ucs(const char* cbuf, size_t len, GuUCS* ubuf, GuExn* err);
size_t
gu_ucs_to_str(const GuUCS* ubuf, size_t len, char* cbuf, GuExn* err);
bool gu_ucs_is_upper(GuUCS c);
bool gu_ucs_is_digit(GuUCS c);
bool gu_ucs_is_alpha(GuUCS c);
bool gu_ucs_is_cntrl(GuUCS c);
bool gu_ucs_is_space(GuUCS c);
bool gu_ucs_is_print(GuUCS c);
bool gu_ucs_is_lower(GuUCS c);
bool gu_ucs_is_alnum(GuUCS c);
GuUCS gu_ucs_to_lower(GuUCS c);
GuUCS gu_ucs_to_upper(GuUCS c);
GuUCS gu_ucs_to_title(GuUCS c);
int gu_ucs_is_gencat(GuUCS wc);
#endif // GU_ISO10646_H_