blob: 504d7ad513276a477919baba29c742d89cd828f2 [file] [log] [blame]
Guido van Rossum5bfc2eb2000-03-10 23:08:04 +00001/* ------------------------------------------------------------------------
2
3 unicodedatabase -- The Unicode 3.0 data base.
4
5 Data was extracted from the Unicode 3.0 UnicodeData.txt file.
6
7Written by Marc-Andre Lemburg (mal@lemburg.com).
8
9(c) Copyright CNRI, All Rights Reserved. NO WARRANTY.
10
11 ------------------------------------------------------------------------ */
12
13/* --- Unicode database entry --------------------------------------------- */
14
15typedef struct {
16 const unsigned char category; /* index into
17 _PyUnicode_CategoryNames */
18 const unsigned char combining; /* combining class value 0 - 255 */
19 const unsigned char bidirectional; /* index into
20 _PyUnicode_BidirectionalNames */
21 const unsigned char mirrored; /* true if mirrored in bidir mode */
22 const char *decomposition; /* pointer to the decomposition
23 string or NULL */
24} _PyUnicode_DatabaseRecord;
25
26/* --- Unicode category names --------------------------------------------- */
27
28extern const char *_PyUnicode_CategoryNames[32];
29extern const char *_PyUnicode_BidirectionalNames[21];
30
31/* --- Unicode Database --------------------------------------------------- */
32
33extern const _PyUnicode_DatabaseRecord _PyUnicode_Database[65536];