Jinoh Kang (@iamahuman) commented about dlls/ntdll/heap.c:
#define REGION_ALIGN 0x10000 #define BLOCK_ALIGN (2 * sizeof(void *))
-struct block +struct DECLSPEC_ALIGN(8) block {
- WORD block_size; /* block size in multiple of BLOCK_ALIGN */
- /* block size in multiple of BLOCK_ALIGN */
- WORD block_size;
- /* unused size (used block) / high size bits (free block) */
- WORD tail_size;
- /* offset to region base / first group block (LFH block) */
Maybe we want to keep the old documentation? ```suggestion:-0+0 /* Non-LFH: offset to the region base in multiple of REGION_ALIGN * LFH: number of blocks in the group before the current block */ ```