aboutsummaryrefslogtreecommitdiff
path: root/src/env.c
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2024-09-08 18:36:07 +0300
committerkartofen <mladenovnasko0@gmail.com>2024-09-08 18:36:07 +0300
commit4308cd4abe5a75fb8410df929eac687cbd04032b (patch)
tree4a5871db2168cb96deab29be7aed36262511c0c1 /src/env.c
parentdb32849ce314a93db01f877a057a91022fec7c8b (diff)
update mempool and add implement hash array mapped trie (not integrated)
Diffstat (limited to 'src/env.c')
-rw-r--r--src/env.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/env.c b/src/env.c
index 35b2ddf..ff9da33 100644
--- a/src/env.c
+++ b/src/env.c
@@ -6,10 +6,7 @@
#include "value.h"
#include "mempool.h"
-
-#define MEMPOOL_OBJ_TYPE struct symbol_table
-#define MEMPOOL_CAP 64
-MEMPOOL_GENERATE(env)
+MEMPOOL_GENERATE(env, struct symbol_table, 64)
#define ENV_TABLE_CAP (1 << 3)