diff options
author | Victor Stinner <vstinner@python.org> | 2021-03-08 21:56:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-08 21:56:37 (GMT) |
commit | 9f672a52f55ce198d5689b5771948350028b4a3b (patch) | |
tree | 97b3c2faff07ba77c499e0a223dd9f1de7e72152 | |
parent | 3abf6f010243a91bf57cbf357dac33193f7b8407 (diff) | |
download | cpython-9f672a52f55ce198d5689b5771948350028b4a3b.zip cpython-9f672a52f55ce198d5689b5771948350028b4a3b.tar.gz cpython-9f672a52f55ce198d5689b5771948350028b4a3b.tar.bz2 |
bpo-37146: Move _PyEval_DeactivateOpCache() to the internal C API (GH-24786)
Don't export the symbol anymore.
-rw-r--r-- | Include/cpython/ceval.h | 2 | ||||
-rw-r--r-- | 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() ----------------------------------------- */ |