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.
This commit is contained in:
Victor Stinner 2023-07-03 10:23:43 +02:00 committed by GitHub
parent d65b783b69
commit 5ccbbe5bb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 166 additions and 144 deletions

View file

@ -9,6 +9,8 @@ extern "C" {
#endif
#include "pycore_unicodeobject.h" // _PyUnicodeWriter
/* runtime lifecycle */
extern void _PyFloat_InitState(PyInterpreterState *);