#include "Python.h"
#include "pycore_initconfig.h"
#include "pycore_fileutils.h"
#include "pycore_pathconfig.h"
#include "pycore_pymem.h"
#include <wchar.h>
#include "marshal.h"
#include "osdefs.h"
#ifdef MS_WINDOWS
# include <windows.h>
# include <pathcch.h>
# include <shlwapi.h>
#endif
_PyPathConfig;
#define _PyPathConfig_INIT …
_PyPathConfig _Py_path_config = …;
const wchar_t *
_PyPathConfig_GetGlobalModuleSearchPath(void)
{ … }
void
_PyPathConfig_ClearGlobal(void)
{ … }
PyStatus
_PyPathConfig_ReadGlobal(PyConfig *config)
{ … }
PyStatus
_PyPathConfig_UpdateGlobal(const PyConfig *config)
{ … }
static void _Py_NO_RETURN
path_out_of_memory(const char *func)
{ … }
PyAPI_FUNC(void)
Py_SetPath(const wchar_t *path)
{ … }
void
Py_SetPythonHome(const wchar_t *home)
{ … }
void
Py_SetProgramName(const wchar_t *program_name)
{ … }
wchar_t *
Py_GetPath(void)
{ … }
wchar_t *
_Py_GetStdlibDir(void)
{ … }
wchar_t *
Py_GetPrefix(void)
{ … }
wchar_t *
Py_GetExecPrefix(void)
{ … }
wchar_t *
Py_GetProgramFullPath(void)
{ … }
wchar_t*
Py_GetPythonHome(void)
{ … }
wchar_t *
Py_GetProgramName(void)
{ … }
int
_PyPathConfig_ComputeSysPath0(const PyWideStringList *argv, PyObject **path0_p)
{ … }