Revert "bpo-32197: Try to fix a compiler error on OS X introduced in bpo-32030. (#4681)" by vstinner · Pull Request #4694 · python/cpython
#define _PyPathConfig_INIT {.module_search_path = NULL} #ifdef MS_WINDOWS #define _PyPathConfig_INIT \ {.program_full_path = NULL, \ .prefix = NULL, \ .dll_path = NULL, \ .module_search_path = NULL, \ .program_name = NULL, \ .home = NULL} #else #define _PyPathConfig_INIT \ {.program_full_path = NULL, \ .prefix = NULL, \ .exec_prefix = NULL, \ .module_search_path = NULL, \ .program_name = NULL, \ .home = NULL} #endif
PyAPI_DATA(_PyPathConfig) _Py_path_config;
PyAPI_FUNC(_PyInitError) _PyPathConfig_Calculate( _PyPathConfig *config, const _PyMainInterpreterConfig *main_config); PyAPI_FUNC(void) _PyPathConfig_Clear(_PyPathConfig *config);
/* Full Python runtime state */