diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2018-12-14 11:56:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-14 11:56:48 +0200 |
| commit | 45a7b7617e67bd1a8491f5e10ea9d24fe418b52d (patch) | |
| tree | daa322b4f51e0c2ce446f8768c73b7d5299d7a00 /Modules/_winapi.c | |
| parent | 922b2a0d0d9928af420ea4d5c104f8be72517aa2 (diff) | |
| download | cpython-git-45a7b7617e67bd1a8491f5e10ea9d24fe418b52d.tar.gz | |
[3.7] bpo-35489: Use "const Py_UNICODE *" for the Py_UNICODE converter in AC. (GH-11150). (GH-11151)
(cherry picked from commit afb3e71a1710c444fbe789b51df43ee16ee9ede7)
Diffstat (limited to 'Modules/_winapi.c')
| -rw-r--r-- | Modules/_winapi.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Modules/_winapi.c b/Modules/_winapi.c index 127f8886e2..036464d9ab 100644 --- a/Modules/_winapi.c +++ b/Modules/_winapi.c @@ -994,13 +994,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; |
