summaryrefslogtreecommitdiff
path: root/vere/pkg/noun/v1/vortex.c
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2025-10-06 01:01:41 +0700
committerpolwex <polwex@sortug.com>2025-10-06 01:01:41 +0700
commitc4b392a179048f936c062f5ffccc2bc25627e500 (patch)
tree09be0904be8ec4d7ea52992ef7580d42ed0c28c1 /vere/pkg/noun/v1/vortex.c
working
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;
+}