diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2001-01-21 22:41:08 (GMT) |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2001-01-21 22:41:08 (GMT) |
commit | 7b7dd107b3654926fb75215805d6c0c8a15bf89e (patch) | |
tree | 13b2631ae40737b8f28e2466e0a64e1278564220 /Modules/unicodedatabase.h | |
parent | f75c9d94b4cb9f11f0ed046aa775478e559b4081 (diff) | |
download | cpython-7b7dd107b3654926fb75215805d6c0c8a15bf89e.zip cpython-7b7dd107b3654926fb75215805d6c0c8a15bf89e.tar.gz cpython-7b7dd107b3654926fb75215805d6c0c8a15bf89e.tar.bz2 |
compress unicode decomposition tables (this saves another 55k)
Diffstat (limited to 'Modules/unicodedatabase.h')
-rw-r--r-- | Modules/unicodedatabase.h | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/Modules/unicodedatabase.h b/Modules/unicodedatabase.h index 1c92e04..3cd0dca 100644 --- a/Modules/unicodedatabase.h +++ b/Modules/unicodedatabase.h @@ -1,33 +1 @@ -/* ------------------------------------------------------------------------ - - 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). - Modified for Python 2.0 by Fredrik Lundh (fredrik@pythonware.com) - - Copyright (c) Corporation for National Research Initiatives. - - ------------------------------------------------------------------------ */ - -/* --- 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 */ -} _PyUnicode_DatabaseRecord; - -/* --- Unicode category names --------------------------------------------- */ - -extern const char *_PyUnicode_CategoryNames[]; -extern const char *_PyUnicode_BidirectionalNames[]; - -/* --- Unicode Database --------------------------------------------------- */ - -extern const _PyUnicode_DatabaseRecord *_PyUnicode_Database_GetRecord(int ch); -extern const char *_PyUnicode_Database_GetDecomposition(int ch); +/* remove this file! */ |