]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-37146: Move _PyEval_DeactivateOpCache() to the internal C API (GH-24786)
authorVictor Stinner <vstinner@python.org>
Mon, 8 Mar 2021 21:56:37 +0000 (22:56 +0100)
committerGitHub <noreply@github.com>
Mon, 8 Mar 2021 21:56:37 +0000 (22:56 +0100)
Don't export the symbol anymore.

Include/cpython/ceval.h
Include/internal/pycore_ceval.h

index 05dcfac2ed6346f992e021e4cdcf46d06b3c800e..06338928f6738b6063119c88f75cdfd8bceddf8b 100644 (file)
@@ -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);
index f07959da770d965bda3bc0fd659c4894e172d098..f573c3e50868073f1063809a4ea62175fa8ee64f 100644 (file)
@@ -62,6 +62,8 @@ extern void _PyEval_FiniGIL(PyInterpreterState *interp);
 
 extern void _PyEval_ReleaseLock(PyThreadState *tstate);
 
+extern void _PyEval_DeactivateOpCache(void);
+
 
 /* --- _Py_EnterRecursiveCall() ----------------------------------------- */