heap/multi_heap: added initial implementation of aligned alloc function

This commit is contained in:
Felipe Neves
2019-11-13 09:24:08 +08:00
parent a05c00c2b3
commit d26ddaa644
3 changed files with 91 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ typedef const struct heap_block *multi_heap_block_handle_t;
If heap poisoning is enabled, wrapper functions call each of these.
*/
void *multi_heap_malloc_impl(multi_heap_handle_t heap, size_t size);
void multi_heap_free_impl(multi_heap_handle_t heap, void *p);
void *multi_heap_realloc_impl(multi_heap_handle_t heap, void *p, size_t size);