8000 cpython/Modules/getpath.c at 3.3 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content 8000

Latest commit

 

History

History
887 lines (796 loc) · 27.2 KB

File metadata and controls

887 lines (796 loc) · 27.2 KB
if (module_search_path != NULL)
wcscpy(module_search_path, path);
}
}
wchar_t *
Py_GetPath(void)
{
if (!module_search_path)
calculate_path();
return module_search_path;
}
wchar_t *
Py_GetPrefix(void)
{
if (!module_search_path)
calculate_path();
return prefix;
}
wchar_t *
Py_GetExecPrefix(void)
{
if (!module_search_path)
calculate_path();
return exec_prefix;
}
wchar_t *
Py_GetProgramFullPath(void)
{
if (!module_search_path)
calculate_path();
return progpath;
}
#ifdef __cplusplus
}
#endif
0