diff Include/pythonrun.h @ 64955:fd5e51035335

issue 9910 Add a Py_SetPath api to override magic path computations when starting up python.
author Kristján Valur Jónsson <kristjan@ccpgames.com>
date Mon, 27 Sep 2010 05:32:54 +0000
parents 1bd3534136a0
children 62b61abd02b8
line wrap: on
line diff
--- a/Include/pythonrun.h	Mon Sep 27 01:26:03 2010 +0000
+++ b/Include/pythonrun.h	Mon Sep 27 05:32:54 2010 +0000
@@ -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);