2000-03-10 19:08:04 -04:00
|
|
|
/* ------------------------------------------------------------------------
|
|
|
|
|
|
|
|
unicodedatabase -- The Unicode 3.0 data base.
|
|
|
|
|
|
|
|
Data was extracted from the Unicode 3.0 UnicodeData.txt file.
|
|
|
|
|
|
|
|
Written by Marc-Andre Lemburg (mal@lemburg.com).
|
|
|
|
|
2000-08-03 13:24:25 -03:00
|
|
|
Copyright (c) Corporation for National Research Initiatives.
|
2000-03-10 19:08:04 -04:00
|
|
|
|
|
|
|
------------------------------------------------------------------------ */
|
|
|
|
|
|
|
|
/* --- Unicode database entry --------------------------------------------- */
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
const unsigned char category; /* index into
|
|
|
|
_PyUnicode_CategoryNames */
|
|
|
|
const unsigned char combining; /* combining class value 0 - 255 */
|
|
|
|
const unsigned char bidirectional; /* index into
|
|
|
|
_PyUnicode_BidirectionalNames */
|
|
|
|
const unsigned char mirrored; /* true if mirrored in bidir mode */
|
|
|
|
const char *decomposition; /* pointer to the decomposition
|
|
|
|
string or NULL */
|
|
|
|
} _PyUnicode_DatabaseRecord;
|
|
|
|
|
|
|
|
/* --- Unicode category names --------------------------------------------- */
|
|
|
|
|
|
|
|
extern const char *_PyUnicode_CategoryNames[32];
|
|
|
|
extern const char *_PyUnicode_BidirectionalNames[21];
|
|
|
|
|
|
|
|
/* --- Unicode Database --------------------------------------------------- */
|
|
|
|
|
2000-09-24 18:28:28 -03:00
|
|
|
extern const _PyUnicode_DatabaseRecord *_PyUnicode_Database_GetRecord(int ch);
|