diff options
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 70fdf13..8de9ba0 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; |