From: Victor Stinner Date: Tue, 26 Nov 2013 00:06:02 +0000 (+0100) Subject: Issue #18874: tracemalloc: Comment the trace_t structure X-Git-Tag: v3.4.0b2~476 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7a5be14dd83dd9eabcd78d012b1dd38020d32bea;p=thirdparty%2FPython%2Fcpython.git Issue #18874: tracemalloc: Comment the trace_t structure --- diff --git a/Modules/_tracemalloc.c b/Modules/_tracemalloc.c index 7e9f69845d06..5f45f3d20f4a 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;