blob: 713fd3d81ee563e74395b8300b8c20ef828308cd [file] [log] [blame]
Marc-André Lemburg808d9b12000-06-28 16:37:24 +00001
Guido van Rossum4f4b7992000-06-29 00:06:39 +00002#include "Python.h"
Marc-André Lemburg808d9b12000-06-28 16:37:24 +00003#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