diff options
author | user <user@localhost.localdomain> | 2019-12-09 15:01:24 -0800 |
---|---|---|
committer | user <user@localhost.localdomain> | 2019-12-09 15:01:24 -0800 |
commit | 3e3aeddec840fed915b0fa748dcd2f56d6f682ef (patch) | |
tree | 1d672499211330185c0f67be737d3910141c41b1 /starts/meaning-vm/level-1/memorystore.hpp | |
parent | 0e40f5829a880ba63a3a8603e4babf2c2f7659e5 (diff) | |
download | standingwithresilience-3e3aeddec840fed915b0fa748dcd2f56d6f682ef.tar.gz standingwithresilience-3e3aeddec840fed915b0fa748dcd2f56d6f682ef.zip |
wip level1 allocation groups
Diffstat (limited to 'starts/meaning-vm/level-1/memorystore.hpp')
-rw-r--r-- | starts/meaning-vm/level-1/memorystore.hpp | 14 |
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(); + +} +} |