home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 15 / AACD15.ISO / AACD / Programming / Python2 / Python20_source / Modules / unicodedatabase.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-10-25  |  1.3 KB  |  34 lines

  1. /* ------------------------------------------------------------------------
  2.  
  3.    unicodedatabase -- The Unicode 3.0 data base.
  4.  
  5.    Data was extracted from the Unicode 3.0 UnicodeData.txt file.
  6.  
  7.    Written by Marc-Andre Lemburg (mal@lemburg.com).
  8.    Modified for Python 2.0 by Fredrik Lundh (fredrik@pythonware.com)
  9.  
  10.    Copyright (c) Corporation for National Research Initiatives.
  11.  
  12.    ------------------------------------------------------------------------ */
  13.  
  14. /* --- Unicode database entry --------------------------------------------- */
  15.  
  16. typedef struct {
  17.     const unsigned char category;    /* index into
  18.                        _PyUnicode_CategoryNames */
  19.     const unsigned char    combining;     /* combining class value 0 - 255 */
  20.     const unsigned char    bidirectional;     /* index into
  21.                        _PyUnicode_BidirectionalNames */
  22.     const unsigned char mirrored;    /* true if mirrored in bidir mode */
  23. } _PyUnicode_DatabaseRecord;
  24.  
  25. /* --- Unicode category names --------------------------------------------- */
  26.  
  27. extern const char *_PyUnicode_CategoryNames[];
  28. extern const char *_PyUnicode_BidirectionalNames[];
  29.  
  30. /* --- Unicode Database --------------------------------------------------- */
  31.  
  32. extern const _PyUnicode_DatabaseRecord *_PyUnicode_Database_GetRecord(int ch);
  33. extern const char *_PyUnicode_Database_GetDecomposition(int ch);
  34.