summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-08-23 15:57:54 (GMT)
committerGitHub <noreply@github.com>2019-08-23 15:57:54 (GMT)
commit3842f2997fbd4dc840986aad2bb94656815e243b (patch)
tree7de805acc44dbbcbdf8364a14632d4fc6c2302a8 /Include
parent8e76c456226438f2e4931ce7baf05ac8faae34a1 (diff)
downloadcpython-3842f2997fbd4dc840986aad2bb94656815e243b.zip
cpython-3842f2997fbd4dc840986aad2bb94656815e243b.tar.gz
cpython-3842f2997fbd4dc840986aad2bb94656815e243b.tar.bz2
bpo-36763: Implement PyWideStringList_Insert() of PEP 587 (GH-15423)
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 ----------------------------------------------- */