|
libcute 0.1
|


Go to the source code of this file.
Classes | |
| struct | cu_FixedAllocator |
Functions | |
| cu_Allocator | cu_Allocator_FixedAllocator (cu_FixedAllocator *alloc, cu_Slice buffer) |
| void | cu_FixedAllocator_reset (cu_FixedAllocator *alloc) |
Fixed-size buffer allocator.
| cu_Allocator cu_Allocator_FixedAllocator | ( | cu_FixedAllocator * | alloc, |
| cu_Slice | buffer | ||
| ) |
Initialize a fixed allocator using the given buffer.
| void cu_FixedAllocator_reset | ( | cu_FixedAllocator * | alloc | ) |
Reset the allocator to reuse the buffer.