diff --git a/Include/ucnhash.h b/Include/ucnhash.h new file mode 100644 index 00000000000..f27a16fbc98 --- /dev/null +++ b/Include/ucnhash.h @@ -0,0 +1,20 @@ + +#include +#include + +/* --- 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; + unsigned int uiValue; +} _Py_UnicodeCharacterName; +