2000-06-28 13:37:24 -03:00
|
|
|
|
2000-06-28 21:06:39 -03:00
|
|
|
#include "Python.h"
|
2000-06-28 13:37:24 -03:00
|
|
|
#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 14:45:37 -03:00
|
|
|
Py_UCS4 value;
|
2000-06-28 13:37:24 -03:00
|
|
|
} _Py_UnicodeCharacterName;
|
|
|
|
|