diff options
author | Frank Richter <frank.richter@gmail.com> | 2021-12-19 14:51:15 +0100 |
---|---|---|
committer | Frank Richter <frank.richter@gmail.com> | 2021-12-19 14:51:15 +0100 |
commit | ff3bb5ce7b45272b6a97b042bbcddcd7bbc50346 (patch) | |
tree | 6629603185bbc37d3bf5bc34abea8e1fd49b5790 | |
parent | 0560fc27c08d28d523b7f741a42deb26cd01c0c6 (diff) |
Tweak documentation for mi_heap_area_t::used.
For microsoft/mimalloc#503.
-rw-r--r-- | include/mimalloc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mimalloc.h b/include/mimalloc.h index 756e516..420e0ea 100644 --- a/include/mimalloc.h +++ b/include/mimalloc.h @@ -253,7 +253,7 @@ typedef struct mi_heap_area_s { void* blocks; // start of the area containing heap blocks size_t reserved; // bytes reserved for this area (virtual) size_t committed; // current available bytes for this area - size_t used; // bytes in use by allocated blocks + size_t used; // number of allocated blocks size_t block_size; // size in bytes of each block } mi_heap_area_t; |