summaryrefslogtreecommitdiff
path: root/Include/internal/pystate.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/internal/pystate.h')
-rw-r--r--Include/internal/pystate.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/Include/internal/pystate.h b/Include/internal/pystate.h
index 7056e105ff..50ad2fc83a 100644
--- a/Include/internal/pystate.h
+++ b/Include/internal/pystate.h
@@ -37,6 +37,22 @@ struct _gilstate_runtime_state {
#define _PyGILState_check_enabled _PyRuntime.gilstate.check_enabled
+typedef struct {
+ /* Full path to the Python program */
+ wchar_t *program_full_path;
+ wchar_t *prefix;
+#ifdef MS_WINDOWS
+ wchar_t *dll_path;
+#else
+ wchar_t *exec_prefix;
+#endif
+ /* Set by Py_SetPath(), or computed by _PyPathConfig_Init() */
+ wchar_t *module_search_path;
+} _PyPathConfig;
+
+#define _PyPathConfig_INIT {.module_search_path = NULL}
+
+
/* Full Python runtime state */
typedef struct pyruntimestate {