Staging
v0.5.1
https://github.com/python/cpython
Revision 324ebb156fe776a5fe88536ea18bfefd9b475b5e authored by Moshe Zadka on 30 March 2001, 20:44:51 UTC, committed by Moshe Zadka on 30 March 2001, 20:44:51 UTC
1 parent f305203
Raw File
Tip revision: 324ebb156fe776a5fe88536ea18bfefd9b475b5e authored by Moshe Zadka on 30 March 2001, 20:44:51 UTC
- #121013 - stringobject.c -- "".join(u"this is a test") dumped core
Tip revision: 324ebb1
ucnhash.h

#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;
    Py_UCS4 value;
} _Py_UnicodeCharacterName;

back to top