Add realloc func argument for memory allocator (#191)
This commit is contained in:
@ -23,6 +23,9 @@ mem_allocator_destroy(mem_allocator_t allocator);
|
||||
void *
|
||||
mem_allocator_malloc(mem_allocator_t allocator, uint32_t size);
|
||||
|
||||
void *
|
||||
mem_allocator_realloc(mem_allocator_t allocator, void *ptr, uint32_t size);
|
||||
|
||||
void
|
||||
mem_allocator_free(mem_allocator_t allocator, void *ptr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user