diff options
Diffstat (limited to 'heap.h')
-rw-r--r-- | heap.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -133,6 +133,10 @@ struct heap * */ int heap_create(struct heap *heap, uintptr_t at, size_t len); +/* Expands the heap's allocation area. Does not support reallocations + * */ +void heap_resize(struct heap *heap, size_t newsize); + /* Allocates a block of memory atleast [size] bytes long in heap * */ void *heap_alloc(struct heap *heap, size_t size); |