diff options
author | Victor Stinner <vstinner@python.org> | 2020-03-09 20:24:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-09 20:24:14 (GMT) |
commit | 111e4ee52a1739e7c7221adde2fc364ef4954af2 (patch) | |
tree | 5b68666e414dbef941f07667a55ad9c4e45463b9 /Include/internal/pycore_ceval.h | |
parent | 3225b9f9739cd4bcca372d0fa939cea1ae5c6402 (diff) | |
download | cpython-111e4ee52a1739e7c7221adde2fc364ef4954af2.zip cpython-111e4ee52a1739e7c7221adde2fc364ef4954af2.tar.gz cpython-111e4ee52a1739e7c7221adde2fc364ef4954af2.tar.bz2 |
bpo-39877: Py_Initialize() pass tstate to PyEval_InitThreads() (GH-18884)
Diffstat (limited to 'Include/internal/pycore_ceval.h')
-rw-r--r-- | Include/internal/pycore_ceval.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/internal/pycore_ceval.h b/Include/internal/pycore_ceval.h index 2a7c235..b20e85c 100644 --- a/Include/internal/pycore_ceval.h +++ b/Include/internal/pycore_ceval.h @@ -53,6 +53,8 @@ extern PyObject *_PyEval_EvalCode( PyObject *kwdefs, PyObject *closure, PyObject *name, PyObject *qualname); +extern PyStatus _PyEval_InitThreads(PyThreadState *tstate); + #ifdef __cplusplus } #endif |