From 7a5be14dd83dd9eabcd78d012b1dd38020d32bea Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 26 Nov 2013 01:06:02 +0100 Subject: Issue #18874: tracemalloc: Comment the trace_t structure --- Modules/_tracemalloc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Modules/_tracemalloc.c b/Modules/_tracemalloc.c index 7e9f698..5f45f3d 100644 --- a/Modules/_tracemalloc.c +++ b/Modules/_tracemalloc.c @@ -93,8 +93,12 @@ typedef struct { static PyObject *unknown_filename = NULL; static traceback_t tracemalloc_empty_traceback; +/* Trace of a memory block */ typedef struct { + /* Size of the memory block in bytes */ size_t size; + + /* Traceback where the memory block was allocated */ traceback_t *traceback; } trace_t; -- cgit v0.12