summaryrefslogtreecommitdiffstats
path: root/Include/ucnhash.h
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-10-21 18:57:36 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-10-21 18:57:36 (GMT)
commit931b8aac8058cf2b0eb4349217893aaf16f23444 (patch)
tree5cbd87e3f2c4018e1382c811c6ae214d1400396f /Include/ucnhash.h
parent3764a964ca4e8c979743ba8c2f08b65ddf8b0070 (diff)
downloadcpython-931b8aac8058cf2b0eb4349217893aaf16f23444.zip
cpython-931b8aac8058cf2b0eb4349217893aaf16f23444.tar.gz
cpython-931b8aac8058cf2b0eb4349217893aaf16f23444.tar.bz2
#12753: Add support for Unicode name aliases and named sequences.
Diffstat (limited to 'Include/ucnhash.h')
-rw-r--r--Include/ucnhash.h6
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;