diff options
author | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2010-09-27 05:32:54 (GMT) |
---|---|---|
committer | Kristján Valur Jónsson <kristjan@ccpgames.com> | 2010-09-27 05:32:54 (GMT) |
commit | 3b69db27d70f05584b76ece61bb882c26ecfcc68 (patch) | |
tree | c02d068991fa7d393ec6a33ab4307d401a90c1f7 /Include/pythonrun.h | |
parent | 42ef4b1f4c8f07357f7c4e9cb8470f57365b0ffa (diff) | |
download | cpython-3b69db27d70f05584b76ece61bb882c26ecfcc68.zip cpython-3b69db27d70f05584b76ece61bb882c26ecfcc68.tar.gz cpython-3b69db27d70f05584b76ece61bb882c26ecfcc68.tar.bz2 |
issue 9910
Add a Py_SetPath api to override magic path computations when starting up python.
Diffstat (limited to 'Include/pythonrun.h')
-rw-r--r-- | Include/pythonrun.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/pythonrun.h b/Include/pythonrun.h index b9da550..108b647 100644 --- a/Include/pythonrun.h +++ b/Include/pythonrun.h @@ -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); |