Commit | Line | Data |
---|---|---|
e5a5a138 | 1 | /* Automatically generated file, see scripts/make-unidata */ |
61507e3c RK |
2 | #ifndef UNIDATA_H |
3 | #define UNIDATA_H | |
4 | enum unicode_gc_cat { | |
5 | unicode_gc_Cc, | |
6 | unicode_gc_Cf, | |
7 | unicode_gc_Cn, | |
8 | unicode_gc_Co, | |
9 | unicode_gc_Cs, | |
10 | unicode_gc_Ll, | |
11 | unicode_gc_Lm, | |
12 | unicode_gc_Lo, | |
13 | unicode_gc_Lt, | |
14 | unicode_gc_Lu, | |
15 | unicode_gc_Mc, | |
16 | unicode_gc_Me, | |
17 | unicode_gc_Mn, | |
18 | unicode_gc_Nd, | |
19 | unicode_gc_Nl, | |
20 | unicode_gc_No, | |
21 | unicode_gc_Pc, | |
22 | unicode_gc_Pd, | |
23 | unicode_gc_Pe, | |
24 | unicode_gc_Pf, | |
25 | unicode_gc_Pi, | |
26 | unicode_gc_Po, | |
27 | unicode_gc_Ps, | |
28 | unicode_gc_Sc, | |
29 | unicode_gc_Sk, | |
30 | unicode_gc_Sm, | |
31 | unicode_gc_So, | |
32 | unicode_gc_Zl, | |
33 | unicode_gc_Zp, | |
34 | unicode_gc_Zs | |
35 | }; | |
e5a5a138 | 36 | enum unicode_flags { |
35b651f0 RK |
37 | unicode_normalize_before_casefold = 1, |
38 | unicode_grapheme_break_extend = 2 | |
e5a5a138 RK |
39 | }; |
40 | ||
61507e3c | 41 | struct unidata { |
e5a5a138 RK |
42 | const uint32_t *compat; |
43 | const uint32_t *canon; | |
44 | const uint32_t *casefold; | |
45 | int16_t upper_offset; | |
46 | int16_t lower_offset; | |
47 | unsigned char ccc; | |
48 | char gc; | |
49 | uint8_t flags; | |
61507e3c RK |
50 | }; |
51 | extern const struct unidata *const unidata[]; | |
e5a5a138 RK |
52 | #define UNICODE_NCHARS 195200 |
53 | #define UNICODE_MODULUS 128 | |
61507e3c | 54 | #endif |