summaryrefslogtreecommitdiff
path: root/src/hash_table.c
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2023-01-07 09:54:40 -0800
committerPreston Pan <preston@nullring.xyz>2023-01-07 09:54:40 -0800
commit4581329cde6cfb64399be48f58d67310ab19ee1b (patch)
treec76893896ae4375c618ecffad71fa9ffb3717be2 /src/hash_table.c
parentc620d528fb9d9efbac559002d23857623e71df05 (diff)
include working
Diffstat (limited to 'src/hash_table.c')
-rw-r--r--src/hash_table.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hash_table.c b/src/hash_table.c
index bd947c0..6648bd1 100644
--- a/src/hash_table.c
+++ b/src/hash_table.c
@@ -77,6 +77,7 @@ void sl_list_add(sl_list_t *l, char *key, ast_t *value) {
l->size++;
}
}
+
ast_t *sl_list_get(sl_list_t *l, char *key) {
sl_node_t *cur = l->head;
for (int i = 0; i < l->size; i++) {