summaryrefslogtreecommitdiff
path: root/vere/pkg/noun/v1/vortex.c
diff options
context:
space:
mode:
Diffstat (limited to 'vere/pkg/noun/v1/vortex.c')
-rw-r--r--vere/pkg/noun/v1/vortex.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/vere/pkg/noun/v1/vortex.c b/vere/pkg/noun/v1/vortex.c
new file mode 100644
index 0000000..07daf7a
--- /dev/null
+++ b/vere/pkg/noun/v1/vortex.c
@@ -0,0 +1,17 @@
+/// @file
+
+#include "../vortex.h"
+#include "v1/vortex.h"
+
+#include "v1/allocate.h"
+
+/* u3v_v1_reclaim(): clear ad-hoc persistent caches to reclaim memory.
+*/
+void
+u3v_v1_reclaim(void)
+{
+ // clear the u3v_wish cache
+ //
+ u3a_v1_lose(u3A_v1->yot);
+ u3A_v1->yot = u3_nul;
+}