diff options
author | Victor Stinner <vstinner@python.org> | 2024-12-18 16:34:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-18 16:34:31 +0100 |
commit | f802c8bf872ab882d3056675acc79c950fe5b93c (patch) | |
tree | 6ba0239ec24576d28d1085cff94f4f2be4ded5c4 /Python/executor_cases.c.h | |
parent | 91c55085a959016250f1877e147ef379bb97dd12 (diff) | |
download | cpython-f802c8bf872ab882d3056675acc79c950fe5b93c.tar.gz cpython-f802c8bf872ab882d3056675acc79c950fe5b93c.zip |
gh-128013: Convert unicodeobject.c macros to functions (#128061)
Convert unicodeobject.c macros to static inline functions.
* Add _PyUnicode_SET_UTF8() and _PyUnicode_SET_UTF8_LENGTH() macros.
* Add PyUnicode_HASH() and PyUnicode_SET_HASH() macros.
* Remove unused _PyUnicode_KIND() and _PyUnicode_GET_LENGTH() macros.
Diffstat (limited to 'Python/executor_cases.c.h')
0 files changed, 0 insertions, 0 deletions