diff options
author | olpc user <olpc@xo-5d-f7-86.localdomain> | 2019-11-24 14:09:27 -0800 |
---|---|---|
committer | olpc user <olpc@xo-5d-f7-86.localdomain> | 2019-11-24 14:09:27 -0800 |
commit | f80b3ce2b52f568bb04005c24ad11c3a05cf7a15 (patch) | |
tree | 5744aa421d92a2887898900ea70924b30f015e82 /starts/meaning-vm/level-0/memorystore.cpp | |
parent | 9a14918abec434d8463e07635daef380ad630649 (diff) | |
download | standingwithresilience-f80b3ce2b52f568bb04005c24ad11c3a05cf7a15.tar.gz standingwithresilience-f80b3ce2b52f568bb04005c24ad11c3a05cf7a15.zip |
level0 few more checks
Diffstat (limited to 'starts/meaning-vm/level-0/memorystore.cpp')
-rw-r--r-- | starts/meaning-vm/level-0/memorystore.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/starts/meaning-vm/level-0/memorystore.cpp b/starts/meaning-vm/level-0/memorystore.cpp index 6cf71df..0a4f0cc 100644 --- a/starts/meaning-vm/level-0/memorystore.cpp +++ b/starts/meaning-vm/level-0/memorystore.cpp @@ -55,5 +55,10 @@ void dealloc(ref r) { throw no_such_concept(r); } +std::size_t allocated() +{ + return concepts().size(); +} + } } |