lwmem/docs/examples/example_realloc_enlarge_1_log.c
2019-09-29 10:09:22 +02:00

17 lines
580 B
C

State at case 1a
B = Free block; A = Address of free block; S = Free size
Allocation available bytes: 88 bytes
B 0: A: 0x00CBB160, S: 0, next B: 0x00CBB540; Start block
B 1: A: 0x00CBB540, S: 88, next B: 0x00CBB598
B 2: A: 0x00CBB598, S: 0, next B: 0x00000000; End of region
State at case 1b
B = Free block; A = Address of free block; S = Free size
Allocation available bytes: 80 bytes
B 0: A: 0x00CBB160, S: 0, next B: 0x00CBB548; Start block
B 1: A: 0x00CBB548, S: 80, next B: 0x00CBB598
B 2: A: 0x00CBB598, S: 0, next B: 0x00000000; End of region