diff options
author | Victor Stinner <vstinner@python.org> | 2024-06-24 15:40:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-24 15:40:39 (GMT) |
commit | 2e157851e36d83b0cb079b161d633b16ab899d16 (patch) | |
tree | 9d5864953e9bfa43c56a0a46f18760f812d45c1c /Include/cpython | |
parent | a47abdb45d4f1c3195c324812c33b6ef1d9147da (diff) | |
download | cpython-2e157851e36d83b0cb079b161d633b16ab899d16.zip cpython-2e157851e36d83b0cb079b161d633b16ab899d16.tar.gz cpython-2e157851e36d83b0cb079b161d633b16ab899d16.tar.bz2 |
gh-119182: Add PyUnicodeWriter_WriteUCS4() function (#120849)
Diffstat (limited to 'Include/cpython')
-rw-r--r-- | Include/cpython/unicodeobject.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/cpython/unicodeobject.h b/Include/cpython/unicodeobject.h index 059bec8..9179913 100644 --- a/Include/cpython/unicodeobject.h +++ b/Include/cpython/unicodeobject.h @@ -463,6 +463,10 @@ PyAPI_FUNC(int) PyUnicodeWriter_WriteWideChar( PyUnicodeWriter *writer, const wchar_t *str, Py_ssize_t size); +PyAPI_FUNC(int) PyUnicodeWriter_WriteUCS4( + PyUnicodeWriter *writer, + Py_UCS4 *str, + Py_ssize_t size); PyAPI_FUNC(int) PyUnicodeWriter_WriteStr( PyUnicodeWriter *writer, |