summaryrefslogtreecommitdiff
path: root/euler/include/euler/heap.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'euler/include/euler/heap.hpp')
-rw-r--r--euler/include/euler/heap.hpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/euler/include/euler/heap.hpp b/euler/include/euler/heap.hpp
index e2a4852..ce94eef 100644
--- a/euler/include/euler/heap.hpp
+++ b/euler/include/euler/heap.hpp
@@ -1,8 +1,10 @@
#pragma once
-#include <stdint.h>
+#include <cstddef>
+
+namespace euler::heap {
+
+ void *get_block(size_t length);
+ void return_block(void *start, size_t length);
-namespace euler {
- void *alloc(uint64_t bytes);
- void dealloc(void *start, uint64_t bytes);
}