|
rlib
Convenience library for useful things
|
Allocation-time constraints passed to r_mem_allocator_alloc and the merge / take helpers.
More...
#include <rlib/rmemallocator.h>
Data Fields | |
| RMemFlags | flags |
| rsize | alignmask |
| rsize | prefix |
| rsize | padding |
Allocation-time constraints passed to r_mem_allocator_alloc and the merge / take helpers.
flags seed the resulting chunk; alignmask, prefix and padding constrain the layout (alignment of the visible region plus pad bytes before / after).
| rsize RMemAllocationParams::alignmask |
Power-of-two-minus-one alignment of the visible region (e.g. 0x0F = 16-byte aligned).
| RMemFlags RMemAllocationParams::flags |
Initial flags on the produced chunk.
| rsize RMemAllocationParams::padding |
Bytes of guaranteed-zero padding after the visible region.
| rsize RMemAllocationParams::prefix |
Bytes of guaranteed-zero padding before the visible region.