summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_ceval.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-03-09 20:24:14 (GMT)
committerGitHub <noreply@github.com>2020-03-09 20:24:14 (GMT)
commit111e4ee52a1739e7c7221adde2fc364ef4954af2 (patch)
tree5b68666e414dbef941f07667a55ad9c4e45463b9 /Include/internal/pycore_ceval.h
parent3225b9f9739cd4bcca372d0fa939cea1ae5c6402 (diff)
downloadcpython-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.h2
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