libgrapheme

unicode string library
git clone git://git.suckless.org/libgrapheme
Log | Files | Refs | README | LICENSE

character.h (981B)


      1 /* See LICENSE file for copyright and license details. */
      2 #ifndef CHARACTER_H
      3 #define CHARACTER_H
      4 
      5 #include <stdint.h>
      6 
      7 #define CHAR_PROP_CONTROL               (UINT64_C(1) <<  0)
      8 #define CHAR_PROP_EXTEND                (UINT64_C(1) <<  1)
      9 #define CHAR_PROP_EXTENDED_PICTOGRAPHIC (UINT64_C(1) <<  2)
     10 #define CHAR_PROP_HANGUL_L              (UINT64_C(1) <<  3)
     11 #define CHAR_PROP_HANGUL_V              (UINT64_C(1) <<  4)
     12 #define CHAR_PROP_HANGUL_T              (UINT64_C(1) <<  5)
     13 #define CHAR_PROP_HANGUL_LV             (UINT64_C(1) <<  6)
     14 #define CHAR_PROP_HANGUL_LVT            (UINT64_C(1) <<  7)
     15 #define CHAR_PROP_ICB_CONSONANT         (UINT64_C(1) <<  8)
     16 #define CHAR_PROP_ICB_EXTEND            (UINT64_C(1) <<  9)
     17 #define CHAR_PROP_ICB_LINKER            (UINT64_C(1) << 10)
     18 #define CHAR_PROP_PREPEND               (UINT64_C(1) << 11)
     19 #define CHAR_PROP_REGIONAL_INDICATOR    (UINT64_C(1) << 12)
     20 #define CHAR_PROP_SPACINGMARK           (UINT64_C(1) << 13)
     21 
     22 #endif /* UTIL_H */