diff options
author | Steve Dower <steve.dower@microsoft.com> | 2018-11-17 20:42:08 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-17 20:42:08 -0800 |
commit | e851049e0e045b5e0f9d5c6b8a64d7f6b8ecc9c7 (patch) | |
tree | 55603ae6528fd90aa70608e9e23f49440b86131d /Include | |
parent | d1a97b36595726074a83452e5c476806936becba (diff) | |
download | cpython-git-e851049e0e045b5e0f9d5c6b8a64d7f6b8ecc9c7.tar.gz |
bpo-34725: Adds _Py_SetProgramFullPath so embedders may override sys.executable (GH-9861)
Diffstat (limited to 'Include')
-rw-r--r-- | Include/pylifecycle.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/pylifecycle.h b/Include/pylifecycle.h index 68a8827500..8e531cf68b 100644 --- a/Include/pylifecycle.h +++ b/Include/pylifecycle.h @@ -44,6 +44,8 @@ PyAPI_FUNC(void) Py_SetPythonHome(const wchar_t *); PyAPI_FUNC(wchar_t *) Py_GetPythonHome(void); #ifndef Py_LIMITED_API +PyAPI_FUNC(void) _Py_SetProgramFullPath(const wchar_t *); + /* Only used by applications that embed the interpreter and need to * override the standard encoding determination mechanism */ |