gh-130931: Add pycore_interpframe.h internal header (#131249)

Move _PyInterpreterFrame and associated functions
to a new pycore_interpframe.h header.
This commit is contained in:
Victor Stinner 2025-03-19 18:17:44 +01:00 committed by GitHub
parent 6146295a5b
commit 5c44d7d99c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 396 additions and 379 deletions

View file

@ -3,14 +3,12 @@
#include "pycore_gc.h" // PyGC_Head
#include "pycore_hashtable.h" // _Py_hashtable_t
#include "pycore_initconfig.h" // _PyStatus_NO_MEMORY()
#include "pycore_interpframe.h" // _PyInterpreterFrame
#include "pycore_lock.h" // PyMutex_LockFlags()
#include "pycore_object.h" // _PyType_PreHeaderSize()
#include "pycore_pymem.h" // _Py_tracemalloc_config
#include "pycore_runtime.h" // _Py_ID()
#include "pycore_traceback.h" // _Py_DumpASCII()
#include <pycore_frame.h>
#include "frameobject.h" // _PyInterpreterFrame_GetLine
#include <stdlib.h> // malloc()