diff options
Diffstat (limited to 'heap.c')
-rw-r--r-- | heap.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -70,6 +70,12 @@ heap_create(struct heap *heap, uintptr_t at, size_t len) return 0; } +void +heap_resize(struct heap *heap, size_t newsize) +{ + heap->size = newsize; +} + struct bucket* __heap_bucket_findbest(struct heap *heap, size_t size) { |