summaryrefslogtreecommitdiffstats
path: root/Include/cpython/pylifecycle.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-03-29 14:13:46 (GMT)
committerGitHub <noreply@github.com>2019-03-29 14:13:46 (GMT)
commit2f54908afc5665937d763510b4430f10cf764641 (patch)
tree8ceaf77d86f93ec2908129e03a4ad872d6e20c22 /Include/cpython/pylifecycle.h
parent5f45979b63300338b68709bfe817ddae563b93fd (diff)
downloadcpython-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.h3
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