diff options
| author | magh <magh@maghmogh.com> | 2023-03-06 18:44:55 -0600 |
|---|---|---|
| committer | magh <magh@maghmogh.com> | 2023-03-06 18:44:55 -0600 |
| commit | e80d9d8871b325a04b18f90a9ea4bb7fd148fb25 (patch) | |
| tree | 79dbdb8506b7ff1e92549188d1b94cfc0b3503ae /tools/src/heapblock.h | |
Diffstat (limited to 'tools/src/heapblock.h')
| -rw-r--r-- | tools/src/heapblock.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/src/heapblock.h b/tools/src/heapblock.h new file mode 100644 index 0000000..d67411d --- /dev/null +++ b/tools/src/heapblock.h @@ -0,0 +1,13 @@ +/* SPDX-License-Identifier: MIT */ + +#ifndef HEAPBLOCK_H +#define HEAPBLOCK_H + +#include "types.h" + +void heapblock_init(void); + +void *heapblock_alloc(size_t size); +void *heapblock_alloc_aligned(size_t size, size_t align); + +#endif |
