From 9f672a52f55ce198d5689b5771948350028b4a3b Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 8 Mar 2021 22:56:37 +0100 Subject: bpo-37146: Move _PyEval_DeactivateOpCache() to the internal C API (GH-24786) Don't export the symbol anymore. --- Include/cpython/ceval.h | 2 -- Include/internal/pycore_ceval.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Include/cpython/ceval.h b/Include/cpython/ceval.h index 05dcfac..0633892 100644 --- a/Include/cpython/ceval.h +++ b/Include/cpython/ceval.h @@ -28,5 +28,3 @@ PyAPI_FUNC(Py_ssize_t) _PyEval_RequestCodeExtraIndex(freefunc); PyAPI_FUNC(int) _PyEval_SliceIndex(PyObject *, Py_ssize_t *); PyAPI_FUNC(int) _PyEval_SliceIndexNotNone(PyObject *, Py_ssize_t *); - -PyAPI_FUNC(void) _PyEval_DeactivateOpCache(void); diff --git a/Include/internal/pycore_ceval.h b/Include/internal/pycore_ceval.h index f07959d..f573c3e 100644 --- a/Include/internal/pycore_ceval.h +++ b/Include/internal/pycore_ceval.h @@ -62,6 +62,8 @@ extern void _PyEval_FiniGIL(PyInterpreterState *interp); extern void _PyEval_ReleaseLock(PyThreadState *tstate); +extern void _PyEval_DeactivateOpCache(void); + /* --- _Py_EnterRecursiveCall() ----------------------------------------- */ -- cgit v0.12