Skip to content

Commit 6ead284

Browse files
authored
Merge pull request #504 from res2k/tweak-stats-doc
Tweak documentation for mi_heap_area_t::used.
2 parents d508c3d + ff3bb5c commit 6ead284

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/mimalloc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ typedef struct mi_heap_area_s {
254254
void* blocks; // start of the area containing heap blocks
255255
size_t reserved; // bytes reserved for this area (virtual)
256256
size_t committed; // current available bytes for this area
257-
size_t used; // bytes in use by allocated blocks
257+
size_t used; // number of allocated blocks
258258
size_t block_size; // size in bytes of each block
259259
} mi_heap_area_t;
260260

0 commit comments

Comments
 (0)