2018-11-01 03:15:58 +01:00
|
|
|
#ifndef Py_INTERNAL_PATHCONFIG_H
|
|
|
|
#define Py_INTERNAL_PATHCONFIG_H
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2019-04-17 23:02:26 +02:00
|
|
|
#ifndef Py_BUILD_CORE
|
|
|
|
# error "this header requires Py_BUILD_CORE define"
|
2018-11-06 15:59:52 +01:00
|
|
|
#endif
|
|
|
|
|
2023-07-25 05:16:28 +02:00
|
|
|
// Export for '_testinternalcapi' shared extension
|
2021-12-03 00:08:42 +00:00
|
|
|
PyAPI_FUNC(void) _PyPathConfig_ClearGlobal(void);
|
|
|
|
extern PyStatus _PyPathConfig_ReadGlobal(PyConfig *config);
|
|
|
|
extern PyStatus _PyPathConfig_UpdateGlobal(const PyConfig *config);
|
|
|
|
extern const wchar_t * _PyPathConfig_GetGlobalModuleSearchPath(void);
|
2019-05-27 16:39:22 +02:00
|
|
|
|
|
|
|
extern int _PyPathConfig_ComputeSysPath0(
|
|
|
|
const PyWideStringList *argv,
|
2019-03-19 16:09:27 +01:00
|
|
|
PyObject **path0);
|
2019-05-18 04:17:01 +02:00
|
|
|
|
2019-09-21 01:02:56 +02:00
|
|
|
|
2018-11-01 03:15:58 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif /* !Py_INTERNAL_PATHCONFIG_H */
|