lwmem/docs/examples_src/example_realloc_enlarge_2_log.c
2019-12-07 20:26:43 +01:00

17 lines
580 B
C

State at case 2a
B = Free block; A = Address of free block; S = Free size
Allocation available bytes: 88 bytes
B 0: A: 0x0135B160, S: 0, next B: 0x0135B520; Start block
B 1: A: 0x0135B520, S: 88, next B: 0x0135B598
B 2: A: 0x0135B598, S: 0, next B: 0x00000000; End of region
State at case 2b
B = Free block; A = Address of free block; S = Free size
Allocation available bytes: 80 bytes
B 0: A: 0x0135B160, S: 0, next B: 0x0135B548; Start block
B 1: A: 0x0135B548, S: 80, next B: 0x0135B598
B 2: A: 0x0135B598, S: 0, next B: 0x00000000; End of region