mirror of
https://github.com/python/cpython.git
synced 2025-08-23 02:04:56 +00:00
issue 9910
Add a Py_SetPath api to override magic path computations when starting up python.
This commit is contained in:
parent
42ef4b1f4c
commit
3b69db27d7
4 changed files with 68 additions and 2 deletions
|
@ -113,6 +113,7 @@ PyAPI_FUNC(wchar_t *) Py_GetProgramFullPath(void);
|
|||
PyAPI_FUNC(wchar_t *) Py_GetPrefix(void);
|
||||
PyAPI_FUNC(wchar_t *) Py_GetExecPrefix(void);
|
||||
PyAPI_FUNC(wchar_t *) Py_GetPath(void);
|
||||
PyAPI_FUNC(void) Py_SetPath(const wchar_t *);
|
||||
|
||||
/* In their own files */
|
||||
PyAPI_FUNC(const char *) Py_GetVersion(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue