commit 967249317d58494257263b054e236c02b66b7ab4
parent e2d0cd2b3cd312619c29f09ecabee8994e4e4e35
Author: Drew DeVault <sir@cmpwn.com>
Date: Fri, 30 Apr 2021 09:43:50 -0400
hare::types: document store_free
Signed-off-by: Drew DeVault <sir@cmpwn.com>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/hare/types/store.ha b/hare/types/store.ha
@@ -33,6 +33,7 @@ export fn store(
});
};
+// Frees state associated with a [[typestore]].
export fn store_free(store: *typestore) void = {
for (let i = 0z; i < len(store.map); i += 1) {
for (let j = 0z; j < len(store.map[i]); j += 1) {