forked from GitHub/gf-core
add Unicode classification routines to libgu. ported from the base package in Haskell.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -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_
|
||||
|
||||
Reference in New Issue
Block a user