mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Core: Unicode Info
git-svn-id: svn://ultimatepp.org/upp/trunk@11183 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
46e5be8b87
commit
3ffbe4616b
2 changed files with 38 additions and 35 deletions
|
|
@ -128,6 +128,7 @@ dword ToUpperRest_(dword c);
|
|||
dword ToLowerRest_(dword c);
|
||||
dword ToAsciiRest_(dword c);
|
||||
bool IsRTL_(dword c);
|
||||
bool IsMark_(dword c);
|
||||
bool IsLetter_(dword c);
|
||||
bool IsUpper_(dword c);
|
||||
bool IsLower_(dword c);
|
||||
|
|
@ -148,6 +149,7 @@ int ToAscii(int c);
|
|||
#endif
|
||||
|
||||
inline bool IsRTL(dword c) { return (dword)c >= 1470 && IsRTL_(c); }
|
||||
inline bool IsMark(dword c) { return c < 0x300 ? false : c <= 0x36f ? true : IsMark_(c); }
|
||||
|
||||
inline bool IsLetter(int c) { return IsLetter((dword) c); }
|
||||
inline bool IsUpper(int c) { return IsUpper((dword) c); }
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue