blob: f27a16fbc985320b0f5f22effa531a9b84544b5b [file] [log] [blame]
Marc-André Lemburg808d9b12000-06-28 16:37:24 +00001
2#include <Python.h>
3#include <stdlib.h>
4
5/* --- C API ----------------------------------------------------*/
6/* C API for usage by other Python modules */
7typedef 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
15typedef struct
16{
17 const char *pszUCN;
18 unsigned int uiValue;
19} _Py_UnicodeCharacterName;
20