summaryrefslogtreecommitdiffstats
path: root/PC/python3dll.c
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2020-10-19 22:17:50 (GMT)
committerGitHub <noreply@github.com>2020-10-19 22:17:50 (GMT)
commit3a8fdb28794b2f19f6c8464378fb8b46bce1f5f4 (patch)
tree860c455643cb15787c0b2c4de90dec28d96f9d2e /PC/python3dll.c
parent4dfb190a33a1deac60306f15d52d2fe11fb93464 (diff)
downloadcpython-3a8fdb28794b2f19f6c8464378fb8b46bce1f5f4.zip
cpython-3a8fdb28794b2f19f6c8464378fb8b46bce1f5f4.tar.gz
cpython-3a8fdb28794b2f19f6c8464378fb8b46bce1f5f4.tar.bz2
bpo-41784: make PyUnicode_AsUTF8AndSize part of the limited API (GH-22252)
Diffstat (limited to 'PC/python3dll.c')
-rw-r--r--PC/python3dll.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/PC/python3dll.c b/PC/python3dll.c
index 153ba61..b9b229e 100644
--- a/PC/python3dll.c
+++ b/PC/python3dll.c
@@ -568,6 +568,7 @@ EXPORT_FUNC(PyUnicode_AsUCS4Copy)
EXPORT_FUNC(PyUnicode_AsUnicodeEscapeString)
EXPORT_FUNC(PyUnicode_AsUTF16String)
EXPORT_FUNC(PyUnicode_AsUTF32String)
+EXPORT_FUNC(PyUnicode_AsUTF8AndSize)
EXPORT_FUNC(PyUnicode_AsUTF8String)
EXPORT_FUNC(PyUnicode_AsWideChar)
EXPORT_FUNC(PyUnicode_AsWideCharString)