commit | 3b69db27d70f05584b76ece61bb882c26ecfcc68 | [log] [tgz] |
---|---|---|
author | Kristján Valur Jónsson <kristjan@ccpgames.com> | Mon Sep 27 05:32:54 2010 +0000 |
committer | Kristján Valur Jónsson <kristjan@ccpgames.com> | Mon Sep 27 05:32:54 2010 +0000 |
tree | c02d068991fa7d393ec6a33ab4307d401a90c1f7 | |
parent | 42ef4b1f4c8f07357f7c4e9cb8470f57365b0ffa [diff] [blame] |
issue 9910 Add a Py_SetPath api to override magic path computations when starting up python.
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_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);