cf_arena_alloc¶
Category: allocator
GitHub: cute_alloc.h
Allocates a block of memory aligned along a byte boundary.
Parameters | Description |
---|---|
arena | The arena to allocate from. |
size | The size of the allocation, it cannot be larger than block_size from cf_arena_init. |
Return Value¶
Returns an aligned pointer of size
bytes.