mirror of
https://github.com/python/cpython.git
synced 2024-11-24 10:24:35 +08:00
ea871c9b0f
No longer export these 5 internal C API functions: * _PyArena_AddPyObject() * _PyArena_Free() * _PyArena_Malloc() * _PyArena_New() * _Py_FatalRefcountErrorFunc() Change comment style to "// comment" and add comment explaining why other functions have to be exported.
27 lines
658 B
C
27 lines
658 B
C
#ifndef Py_INTERNAL_PATHCONFIG_H
|
|
#define Py_INTERNAL_PATHCONFIG_H
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifndef Py_BUILD_CORE
|
|
# error "this header requires Py_BUILD_CORE define"
|
|
#endif
|
|
|
|
// Export for '_testinternalcapi' shared extension
|
|
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);
|
|
|
|
extern int _PyPathConfig_ComputeSysPath0(
|
|
const PyWideStringList *argv,
|
|
PyObject **path0);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif /* !Py_INTERNAL_PATHCONFIG_H */
|