summaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
authorKristján Valur Jónsson <kristjan@ccpgames.com>2010-09-27 05:32:54 +0000
committerKristján Valur Jónsson <kristjan@ccpgames.com>2010-09-27 05:32:54 +0000
commit3b69db27d70f05584b76ece61bb882c26ecfcc68 (patch)
treec02d068991fa7d393ec6a33ab4307d401a90c1f7 /Include
parent42ef4b1f4c8f07357f7c4e9cb8470f57365b0ffa (diff)
downloadcpython-git-3b69db27d70f05584b76ece61bb882c26ecfcc68.tar.gz
issue 9910
Add a Py_SetPath api to override magic path computations when starting up python.
Diffstat (limited to 'Include')
-rw-r--r--Include/pythonrun.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/pythonrun.h b/Include/pythonrun.h
index b9da550469..108b647379 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);