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

34 lines
1.1 KiB
C

ints allocated for 12 integers
B = Free block; A = Address of free block; S = Free size
Allocation available bytes: 64 bytes
B 0: A: 0x00B5B160, S: 0, next B: 0x00B5B558; Start block
B 1: A: 0x00B5B558, S: 64, next B: 0x00B5B598
B 2: A: 0x00B5B598, S: 0, next B: 0x00000000; End of region
ints2 allocated for 13 integers
B = Free block; A = Address of free block; S = Free size
Allocation available bytes: 0 bytes
B 0: A: 0x00B5B160, S: 0, next B: 0x00B5B598; Start block
B 1: A: 0x00B5B598, S: 0, next B: 0x00000000; End of region
old ints freed
B = Free block; A = Address of free block; S = Free size
Allocation available bytes: 56 bytes
B 0: A: 0x00B5B160, S: 0, next B: 0x00B5B520; Start block
B 1: A: 0x00B5B520, S: 56, next B: 0x00B5B598
B 2: A: 0x00B5B598, S: 0, next B: 0x00000000; End of region
ints and ints2 freed
B = Free block; A = Address of free block; S = Free size
Allocation available bytes: 120 bytes
B 0: A: 0x00B5B160, S: 0, next B: 0x00B5B520; Start block
B 1: A: 0x00B5B520, S: 120, next B: 0x00B5B598
B 2: A: 0x00B5B598, S: 0, next B: 0x00000000; End of region