diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-08-26 22:45:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-26 22:45:45 (GMT) |
commit | 9a943b4ce13fac26873b8100e89c818c5c47ac4b (patch) | |
tree | b9036ada2e39eb27652d937406d1c46229ba5cbe /Include/pylifecycle.h | |
parent | 6b2e3256b6752055498f41f343fb22100845bc9d (diff) | |
download | cpython-9a943b4ce13fac26873b8100e89c818c5c47ac4b.zip cpython-9a943b4ce13fac26873b8100e89c818c5c47ac4b.tar.gz cpython-9a943b4ce13fac26873b8100e89c818c5c47ac4b.tar.bz2 |
bpo-36763: Make Py_BytesMain() public (GH-15532)
Declare Py_BytesMain() in Include/pylifecycle.h, rather in
Include/internal/pycore_pylifecycle.h.
Diffstat (limited to 'Include/pylifecycle.h')
-rw-r--r-- | Include/pylifecycle.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/pylifecycle.h b/Include/pylifecycle.h index 1df114a..c5368b3 100644 --- a/Include/pylifecycle.h +++ b/Include/pylifecycle.h @@ -32,6 +32,8 @@ PyAPI_FUNC(void) _Py_NO_RETURN Py_Exit(int); /* Bootstrap __main__ (defined in Modules/main.c) */ PyAPI_FUNC(int) Py_Main(int argc, wchar_t **argv); +PyAPI_FUNC(int) Py_BytesMain(int argc, char **argv); + /* In pathconfig.c */ PyAPI_FUNC(void) Py_SetProgramName(const wchar_t *); PyAPI_FUNC(wchar_t *) Py_GetProgramName(void); |