Marc-André Lemburg | 808d9b1 | 2000-06-28 16:37:24 +0000 | [diff] [blame] | 1 | |
Guido van Rossum | 4f4b799 | 2000-06-29 00:06:39 +0000 | [diff] [blame^] | 2 | #include "Python.h" |
Marc-André Lemburg | 808d9b1 | 2000-06-28 16:37:24 +0000 | [diff] [blame] | 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 | unsigned int uiValue; |
| 19 | } _Py_UnicodeCharacterName; |
| 20 | |