mirror of
https://github.com/python/cpython.git
synced 2025-11-02 11:08:57 +00:00
bpo-46850: Move _PyInterpreterState_SetEvalFrameFunc() to internal C API (GH-32054)
Move the private _PyFrameEvalFunction type, and private _PyInterpreterState_GetEvalFrameFunc() and _PyInterpreterState_SetEvalFrameFunc() functions to the internal C API. The _PyFrameEvalFunction callback function type now uses the _PyInterpreterFrame type which is part of the internal C API. Update the _PyFrameEvalFunction documentation.
This commit is contained in:
parent
b9a5522dd9
commit
f877b40e3f
6 changed files with 38 additions and 13 deletions
|
|
@ -8,7 +8,7 @@ extern "C" {
|
|||
# error "this header requires Py_BUILD_CORE define"
|
||||
#endif
|
||||
|
||||
#include "pycore_runtime.h" /* PyRuntimeState */
|
||||
#include "pycore_runtime.h" // _PyRuntime
|
||||
|
||||
|
||||
/* Check if the current thread is the main thread.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue