summaryrefslogtreecommitdiffstats
path: root/Python/tracemalloc.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2025-03-19 17:17:44 (GMT)
committerGitHub <noreply@github.com>2025-03-19 17:17:44 (GMT)
commit5c44d7d99c470b4270b2f0e4841cf5a7f2499e15 (patch)
tree633e9b6f720587129cb131f6ae5e77a72faf72f4 /Python/tracemalloc.c
parent6146295a5b8e9286ccb8f90818b764c9a0192090 (diff)
downloadcpython-5c44d7d99c470b4270b2f0e4841cf5a7f2499e15.zip
cpython-5c44d7d99c470b4270b2f0e4841cf5a7f2499e15.tar.gz
cpython-5c44d7d99c470b4270b2f0e4841cf5a7f2499e15.tar.bz2
gh-130931: Add pycore_interpframe.h internal header (#131249)
Move _PyInterpreterFrame and associated functions to a new pycore_interpframe.h header.
Diffstat (limited to 'Python/tracemalloc.c')
-rw-r--r--Python/tracemalloc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Python/tracemalloc.c b/Python/tracemalloc.c
index 1ee040d..82e9c6f 100644
--- a/Python/tracemalloc.c
+++ b/Python/tracemalloc.c
@@ -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()