0
0
mirror of https://github.com/python/cpython.git synced 2024-11-28 16:45:42 +01:00
cpython/Include/ucnhash.h

21 lines
459 B
C
Raw Normal View History

#include "Python.h"
#include <stdlib.h>
/* --- C API ----------------------------------------------------*/
/* C API for usage by other Python modules */
typedef struct _Py_UCNHashAPI
{
unsigned long cKeys;
unsigned long cchMax;
unsigned long (*hash)(const char *key, unsigned int cch);
const void *(*getValue)(unsigned long iKey);
} _Py_UCNHashAPI;
typedef struct
{
const char *pszUCN;
2000-07-07 19:45:37 +02:00
Py_UCS4 value;
} _Py_UnicodeCharacterName;