From ff3bb5ce7b45272b6a97b042bbcddcd7bbc50346 Mon Sep 17 00:00:00 2001 From: Frank Richter Date: Sun, 19 Dec 2021 14:51:15 +0100 Subject: [PATCH] Tweak documentation for mi_heap_area_t::used. For microsoft/mimalloc#503. --- include/mimalloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mimalloc.h b/include/mimalloc.h index 756e516c..420e0eab 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;