summaryrefslogtreecommitdiff
path: root/starts/meaning-vm/level-1/memorystore.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'starts/meaning-vm/level-1/memorystore.hpp')
-rw-r--r--starts/meaning-vm/level-1/memorystore.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/starts/meaning-vm/level-1/memorystore.hpp b/starts/meaning-vm/level-1/memorystore.hpp
new file mode 100644
index 0000000..625dad9
--- /dev/null
+++ b/starts/meaning-vm/level-1/memorystore.hpp
@@ -0,0 +1,14 @@
+#pragma once
+
+#include "common.hpp"
+
+namespace intellect {
+namespace level1 {
+
+ref alloc(ref group, std::any data = {});
+void keep(ref allocated, ref group);
+void dealloc(ref group, ref metagroup = concepts::nothing);
+std::size_t allocatedgroups();
+
+}
+}