diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-10-21 21:57:36 +0300 |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-10-21 21:57:36 +0300 |
commit | 2733caa5ed28ad7cc1cee9f4995ab4366825dcec (patch) | |
tree | 44ef12d828dda4eb6f28693747d1eaefdbaa70ea /Include/ucnhash.h | |
parent | efc23074a846665073898ecfd1bc8a7b55591b1e (diff) | |
download | cpython-2733caa5ed28ad7cc1cee9f4995ab4366825dcec.tar.gz |
#12753: Add support for Unicode name aliases and named sequences.
Diffstat (limited to 'Include/ucnhash.h')
-rw-r--r-- | Include/ucnhash.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Include/ucnhash.h b/Include/ucnhash.h index 70fdf13069..8de9ba0cff 100644 --- a/Include/ucnhash.h +++ b/Include/ucnhash.h @@ -19,11 +19,13 @@ typedef struct { 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); + int (*getname)(PyObject *self, Py_UCS4 code, char* buffer, int buflen, + int with_alias_and_seq); /* 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); + int (*getcode)(PyObject *self, const char* name, int namelen, Py_UCS4* code, + int with_named_seq); } _PyUnicode_Name_CAPI; |