mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Avoid forward-declaring the methods array.
Rename unicodedata.db* to unicodedata.ucd*
This commit is contained in:
parent
f669436189
commit
5bd7c02298
5 changed files with 57 additions and 56 deletions
|
|
@ -16,7 +16,7 @@ typedef struct {
|
|||
/* 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.db_X_Y_Z object */
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue