cf_make_memory_pool¶
Category: allocator
GitHub: cute_alloc.h
Creates a memory pool.
| Parameters | Description |
|---|---|
| element_size | The size of each allocation. |
| element_count | The number of elements in the internal pool. |
| alignment | An alignment boundary, must be a power of two. |
Return Value¶
Returns a memory pool pointer.
Related Pages¶
cf_destroy_memory_pool
cf_memory_pool_alloc
cf_memory_pool_free