Staging
v0.5.1
v0.5.1
https://github.com/python/cpython
Revision ea2e7898a1d1b43187b6f5d18905c49c55532746 authored by Eric Smith on 25 February 2010, 14:20:36 UTC, committed by Eric Smith on 25 February 2010, 14:20:36 UTC
svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r78442 | eric.smith | 2010-02-25 09:18:57 -0500 (Thu, 25 Feb 2010) | 9 lines Merged revisions 78440 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r78440 | eric.smith | 2010-02-25 09:14:35 -0500 (Thu, 25 Feb 2010) | 1 line Issue #5965: Add documentation for parts of format specification language. ........ ................
1 parent fa2936c
Tip revision: ea2e7898a1d1b43187b6f5d18905c49c55532746 authored by Eric Smith on 25 February 2010, 14:20:36 UTC
Merged revisions 78442 via svnmerge from
Merged revisions 78442 via svnmerge from
Tip revision: ea2e789
ucnhash.h
/* Unicode name database interface */
#ifndef Py_UCNHASH_H
#define Py_UCNHASH_H
#ifdef __cplusplus
extern "C" {
#endif
/* revised ucnhash CAPI interface (exported through a "wrapper") */
#define PyUnicodeData_CAPSULE_NAME "unicodedata.ucnhash_CAPI"
typedef struct {
/* Size of this struct */
int size;
/* Get name for a given character code. Returns non-zero if
success, zero if not. Does not set Python exceptions.
If self is NULL, data come from the default version of the database.
If it is not NULL, it should be a unicodedata.ucd_X_Y_Z object */
int (*getname)(PyObject *self, Py_UCS4 code, char* buffer, int buflen);
/* Get character code for a given name. Same error handling
as for getname. */
int (*getcode)(PyObject *self, const char* name, int namelen, Py_UCS4* code);
} _PyUnicode_Name_CAPI;
#ifdef __cplusplus
}
#endif
#endif /* !Py_UCNHASH_H */
Computing file changes ...