/* --- PyPreConfig ----------------------------------------------- */
-typedef struct {
+typedef struct PyPreConfig {
int _config_init; /* _PyConfigInitEnum value */
/* Parse Py_PreInitializeFromBytesArgs() arguments?
/* --- PyConfig ---------------------------------------------- */
/* This structure is best documented in the Doc/c-api/init_config.rst file. */
-typedef struct {
+typedef struct PyConfig {
int _config_init; /* _PyConfigInitEnum value */
int isolated;
wchar_t *filesystem_errors;
wchar_t *pycache_prefix;
int parse_argv;
+ PyWideStringList orig_argv;
PyWideStringList argv;
- wchar_t *program_name;
PyWideStringList xoptions;
PyWideStringList warnoptions;
int site_import;
int legacy_windows_stdio;
#endif
wchar_t *check_hash_pycs_mode;
- PyWideStringList orig_argv;
/* --- Path configuration inputs ------------ */
int pathconfig_warnings;
+ wchar_t *program_name;
wchar_t *pythonpath_env;
wchar_t *home;
+ wchar_t *platlibdir;
/* --- Path configuration outputs ----------- */
int module_search_paths_set;
wchar_t *base_prefix;
wchar_t *exec_prefix;
wchar_t *base_exec_prefix;
- wchar_t *platlibdir;
/* --- Parameter only used by Py_Main() ---------- */
int skip_source_first_line;