diff options
author | Victor Stinner <vstinner@python.org> | 2023-07-03 08:23:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-03 08:23:43 (GMT) |
commit | 5ccbbe5bb9a659fa8f2fe551428c84cc14015f44 (patch) | |
tree | dda828881a98a880d128b97c1072fc08b7b262b1 /Modules/cjkcodecs/cjkcodecs.h | |
parent | d65b783b6966d233467a48ef633afb4aff9d5df8 (diff) | |
download | cpython-5ccbbe5bb9a659fa8f2fe551428c84cc14015f44.zip cpython-5ccbbe5bb9a659fa8f2fe551428c84cc14015f44.tar.gz cpython-5ccbbe5bb9a659fa8f2fe551428c84cc14015f44.tar.bz2 |
gh-106320: Move _PyUnicodeWriter to the internal C API (#106342)
Move also _PyUnicode_FormatAdvancedWriter().
CJK codecs and multibytecodec.c now define the Py_BUILD_CORE_MODULE
macro.
Diffstat (limited to 'Modules/cjkcodecs/cjkcodecs.h')
-rw-r--r-- | Modules/cjkcodecs/cjkcodecs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/cjkcodecs/cjkcodecs.h b/Modules/cjkcodecs/cjkcodecs.h index 48cdcfb..97290aa 100644 --- a/Modules/cjkcodecs/cjkcodecs.h +++ b/Modules/cjkcodecs/cjkcodecs.h @@ -7,6 +7,10 @@ #ifndef _CJKCODECS_H_ #define _CJKCODECS_H_ +#ifndef Py_BUILD_CORE_BUILTIN +# define Py_BUILD_CORE_MODULE 1 +#endif + #include "Python.h" #include "multibytecodec.h" |