summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-08-23 16:24:42 (GMT)
committerGitHub <noreply@github.com>2019-08-23 16:24:42 (GMT)
commita6427cb2a279c4125dc26d468bcbb3374cdc5f41 (patch)
tree42d91048474cdef61df318428aab3c9be44629e3 /Include
parentfe64ba611b587cf6e609679d40f0cdb8b7c93ca0 (diff)
downloadcpython-a6427cb2a279c4125dc26d468bcbb3374cdc5f41.zip
cpython-a6427cb2a279c4125dc26d468bcbb3374cdc5f41.tar.gz
cpython-a6427cb2a279c4125dc26d468bcbb3374cdc5f41.tar.bz2
bpo-36763: Implement PyWideStringList_Insert() of PEP 587 (GH-15423)
(cherry picked from commit 3842f2997fbd4dc840986aad2bb94656815e243b) Co-authored-by: Victor Stinner <vstinner@redhat.com>
Diffstat (limited to 'Include')
-rw-r--r--Include/cpython/initconfig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/cpython/initconfig.h b/Include/cpython/initconfig.h
index bd07a48..047f511 100644
--- a/Include/cpython/initconfig.h
+++ b/Include/cpython/initconfig.h
@@ -37,6 +37,9 @@ typedef struct {
PyAPI_FUNC(PyStatus) PyWideStringList_Append(PyWideStringList *list,
const wchar_t *item);
+PyAPI_FUNC(PyStatus) PyWideStringList_Insert(PyWideStringList *list,
+ Py_ssize_t index,
+ const wchar_t *item);
/* --- PyPreConfig ----------------------------------------------- */