diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-11-26 00:06:02 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-11-26 00:06:02 (GMT) |
commit | 7a5be14dd83dd9eabcd78d012b1dd38020d32bea (patch) | |
tree | 095c7d92519b7635be944e6819a75ab302f93b6b /Modules/_tracemalloc.c | |
parent | 8e3708d88ba868eb2d915f0793c0bc0bb5f58b50 (diff) | |
download | cpython-7a5be14dd83dd9eabcd78d012b1dd38020d32bea.zip cpython-7a5be14dd83dd9eabcd78d012b1dd38020d32bea.tar.gz cpython-7a5be14dd83dd9eabcd78d012b1dd38020d32bea.tar.bz2 |
Issue #18874: tracemalloc: Comment the trace_t structure
Diffstat (limited to 'Modules/_tracemalloc.c')
-rw-r--r-- | Modules/_tracemalloc.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |