summaryrefslogtreecommitdiff
path: root/starts/meaning-vm/memorystore.hpp
blob: d1ca98d65675c07c598093e712373ca7981e70a2 (plain)
1
2
3
4
5
6
7
8
9
#pragma once

#include "concept.hpp"

ref alloc(concept * moved = 0);
template <typename T>
vref<T> valloc(T const & val) { return alloc(new value<T>(val)); }
void dealloc(ref);
void dealloc_all(ref); // todo?