diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-03-29 14:13:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-29 14:13:46 (GMT) |
commit | 2f54908afc5665937d763510b4430f10cf764641 (patch) | |
tree | 8ceaf77d86f93ec2908129e03a4ad872d6e20c22 /Include/cpython/pylifecycle.h | |
parent | 5f45979b63300338b68709bfe817ddae563b93fd (diff) | |
download | cpython-2f54908afc5665937d763510b4430f10cf764641.zip cpython-2f54908afc5665937d763510b4430f10cf764641.tar.gz cpython-2f54908afc5665937d763510b4430f10cf764641.tar.bz2 |
bpo-36471: Add _Py_RunMain() (GH-12618)
* Add config_read_cmdline() subfunction. Remove _PyCmdline structure.
* _PyCoreConfig_Read() now also parses config->argv command line
arguments
Diffstat (limited to 'Include/cpython/pylifecycle.h')
-rw-r--r-- | Include/cpython/pylifecycle.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/cpython/pylifecycle.h b/Include/cpython/pylifecycle.h index e293b04..2366c77 100644 --- a/Include/cpython/pylifecycle.h +++ b/Include/cpython/pylifecycle.h @@ -41,6 +41,9 @@ PyAPI_FUNC(_PyInitError) _Py_InitializeFromWideArgs( int argc, wchar_t **argv); +PyAPI_FUNC(int) _Py_RunMain(void); + + PyAPI_FUNC(void) _Py_NO_RETURN _Py_ExitInitError(_PyInitError err); /* Py_PyAtExit is for the atexit module, Py_AtExit is for low-level |