kiba-engine
|
System allocator implementation. More...
Go to the source code of this file.
Functions | |
b8 | system_allocator_create (allocator *alloc, usize size) |
void | system_allocator_destroy (allocator *alloc) |
void * | system_allocator_allocate (allocator *alloc, usize size) |
void | system_allocator_free (allocator *alloc, void *mem, usize size) |
void | system_allocator_free_all (allocator *alloc) |
System allocator implementation.
Definition in file system.c.
void* system_allocator_allocate | ( | allocator * | alloc, |
usize | size | ||
) |
Definition at line 24 of file system.c.
b8 system_allocator_create | ( | allocator * | alloc, |
usize | size | ||
) |
Definition at line 10 of file system.c.
void system_allocator_destroy | ( | allocator * | alloc | ) |
void system_allocator_free | ( | allocator * | alloc, |
void * | mem, | ||
usize | size | ||
) |
Definition at line 29 of file system.c.
void system_allocator_free_all | ( | allocator * | alloc | ) |