kiba-engine
|
Function signatures for linear allocator implementation. More...
#include <kiba/allocators/allocator.h>
Go to the source code of this file.
Functions | |
KB_LOCAL b8 | linear_allocator_create (allocator *alloc, usize size) |
KB_LOCAL void | linear_allocator_destroy (allocator *alloc) |
KB_LOCAL void * | linear_allocator_allocate (allocator *alloc, usize size) |
KB_LOCAL void | linear_allocator_free (allocator *alloc, void *mem, usize size) |
KB_LOCAL void | linear_allocator_free_all (allocator *alloc) |
Function signatures for linear allocator implementation.
Definition in file linear.h.
KB_LOCAL void* linear_allocator_allocate | ( | allocator * | alloc, |
usize | size | ||
) |
Definition at line 88 of file linear.c.
KB_LOCAL b8 linear_allocator_create | ( | allocator * | alloc, |
usize | size | ||
) |
Definition at line 60 of file linear.c.
KB_LOCAL void linear_allocator_destroy | ( | allocator * | alloc | ) |
KB_LOCAL void linear_allocator_free | ( | allocator * | alloc, |
void * | mem, | ||
usize | size | ||
) |
KB_LOCAL void linear_allocator_free_all | ( | allocator * | alloc | ) |