changeset: 87570:cf2c4cd08dd9 user: Victor Stinner date: Tue Nov 26 01:06:02 2013 +0100 files: Modules/_tracemalloc.c description: Issue #18874: tracemalloc: Comment the trace_t structure diff -r a2811425dbde -r cf2c4cd08dd9 Modules/_tracemalloc.c --- a/Modules/_tracemalloc.c Tue Nov 26 00:45:47 2013 +0100 +++ b/Modules/_tracemalloc.c Tue Nov 26 01:06:02 2013 +0100 @@ -93,8 +93,12 @@ 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;