aboutsummaryrefslogtreecommitdiff
path: root/sys.c
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2025-08-20 22:43:23 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2025-08-20 22:43:23 +0100
commit13142dc7f38e6b148efadc97edffca8664b9cde7 (patch)
tree068eb442645caf65e2ac2ff0a4d5f44f158c5a88 /sys.c
parent6e2db6825d4ff4b57be3086f654a84cc9ff64bcf (diff)
downloadalisp-13142dc7f38e6b148efadc97edffca8664b9cde7.tar.gz
alisp-13142dc7f38e6b148efadc97edffca8664b9cde7.tar.bz2
alisp-13142dc7f38e6b148efadc97edffca8664b9cde7.zip
refactor lisp runtime to use vec_t* instead of ivec_t*
bit nicer to look at, should have about the same painful performance hit anyway.
Diffstat (limited to 'sys.c')
-rw-r--r--sys.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys.c b/sys.c
index 195b2a1..d3a9bb2 100644
--- a/sys.c
+++ b/sys.c
@@ -57,9 +57,9 @@ void sys_cleanup(sys_t *sys)
break;
case TAG_VEC:
{
- lvec_t *lvec = as_vec(allocated);
- ivec_free(&lvec->data);
- free(lvec);
+ vec_t *vec = as_vec(allocated);
+ vec_free(vec);
+ free(vec);
break;
}
case TAG_NIL: