◐ Shell
clean mode source ↗

bpo-32030: Add _PyCoreConfig.argv by vstinner · Pull Request #4934 · python/cpython

Expand Up @@ -47,10 +47,18 @@ typedef struct { wchar_t *home; /* PYTHONHOME environment variable, see also Py_SetPythonHome(). */ wchar_t *program_name; /* Program name, see also Py_GetProgramName() */
int argc; /* Number of command line arguments, -1 means unset */ wchar_t **argv; /* sys.argv, ignored if argc is negative */ } _PyCoreConfig;
#define _PyCoreConfig_INIT \ (_PyCoreConfig){.use_hash_seed = -1, .coerce_c_locale = -1, .utf8_mode = -1} (_PyCoreConfig){ \ .use_hash_seed = -1, \ .coerce_c_locale = -1, \ .utf8_mode = -1, \ .argc = -1} /* Note: _PyCoreConfig_INIT sets other fields to 0/NULL */
/* Placeholders while working on the new configuration API Expand Down