diff options
author | Matthew Sotoudeh <matthew@masot.net> | 2024-05-16 03:25:25 -0700 |
---|---|---|
committer | Matthew Sotoudeh <matthew@masot.net> | 2024-05-16 03:25:25 -0700 |
commit | 74df5748fb0b1b2fdb3098be76cb671e5204a845 (patch) | |
tree | 89ff58273549df6e3609e13939d8ad5949d5d020 /buddy.h | |
parent | b4891cf13848e1bee1068565037ae65b58edab84 (diff) |
attempt at a preallocation feature
Diffstat (limited to 'buddy.h')
-rw-r--r-- | buddy.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -12,3 +12,7 @@ void *allocate(size_t size); void liberate(void *base, size_t size); void debug_buddy(void); + +// "advanced features" +void *reallocate(void *old, size_t old_size, size_t new_size); +void preallocate(void *start, size_t size); |