home *** CD-ROM | disk | FTP | other *** search
/ PC World 2001 April / PCWorld_2001-04_cd.bin / Software / TemaCD / webclean / !!!python!!! / BeOpen-Python-2.0.exe / UCNHASH.H < prev    next >
Encoding:
C/C++ Source or Header  |  2000-07-07  |  479 b   |  21 lines

  1.  
  2. #include "Python.h"
  3. #include <stdlib.h>
  4.  
  5. /* --- C API ----------------------------------------------------*/
  6. /* C API for usage by other Python modules */
  7. typedef struct _Py_UCNHashAPI
  8. {
  9.     unsigned long cKeys;
  10.     unsigned long cchMax;
  11.     unsigned long (*hash)(const char *key, unsigned int cch);
  12.     const void *(*getValue)(unsigned long iKey);
  13. } _Py_UCNHashAPI;
  14.  
  15. typedef struct 
  16. {
  17.     const char *pszUCN;
  18.     Py_UCS4 value;
  19. } _Py_UnicodeCharacterName;
  20.  
  21.