Issue #18874: tracemalloc: Comment the trace_t structure

This commit is contained in:
Victor Stinner 2013-11-26 01:06:02 +01:00
parent 8e3708d88b
commit 7a5be14dd8
1 changed files with 4 additions and 0 deletions

View File

@ -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;