summaryrefslogtreecommitdiffstats
path: root/Modules/_winapi.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-12-14 09:19:51 (GMT)
committerGitHub <noreply@github.com>2018-12-14 09:19:51 (GMT)
commitafb3e71a1710c444fbe789b51df43ee16ee9ede7 (patch)
tree31c2164ceb03c23e1ce6a10c93a016693349f776 /Modules/_winapi.c
parent7b36016a15aeed0d76a4c05a66203e6d7723aace (diff)
downloadcpython-afb3e71a1710c444fbe789b51df43ee16ee9ede7.zip
cpython-afb3e71a1710c444fbe789b51df43ee16ee9ede7.tar.gz
cpython-afb3e71a1710c444fbe789b51df43ee16ee9ede7.tar.bz2
bpo-35489: Use "const Py_UNICODE *" for the Py_UNICODE converter in AC. (GH-11150)
Diffstat (limited to 'Modules/_winapi.c')
-rw-r--r--Modules/_winapi.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/Modules/_winapi.c b/Modules/_winapi.c
index 852e0a7..cdb45c2 100644
--- a/Modules/_winapi.c
+++ b/Modules/_winapi.c
@@ -995,13 +995,14 @@ process ID, and thread ID.
[clinic start generated code]*/
static PyObject *
-_winapi_CreateProcess_impl(PyObject *module, Py_UNICODE *application_name,
+_winapi_CreateProcess_impl(PyObject *module,
+ const Py_UNICODE *application_name,
PyObject *command_line, PyObject *proc_attrs,
PyObject *thread_attrs, BOOL inherit_handles,
DWORD creation_flags, PyObject *env_mapping,
- Py_UNICODE *current_directory,
+ const Py_UNICODE *current_directory,
PyObject *startup_info)
-/*[clinic end generated code: output=2ecaab46a05e3123 input=42ac293eaea03fc4]*/
+/*[clinic end generated code: output=9b2423a609230132 input=42ac293eaea03fc4]*/
{
PyObject *ret = NULL;
BOOL result;