diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2025-08-20 22:19:14 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2025-08-20 22:19:14 +0100 |
commit | 55293ae396eb3409113c0edf73c2f661d008f9d6 (patch) | |
tree | 8c81e06049524da2849647082016a0ea8363d502 /constructor.c | |
parent | df558da7e1979a59b5207c323962aa59b61258e4 (diff) | |
download | alisp-55293ae396eb3409113c0edf73c2f661d008f9d6.tar.gz alisp-55293ae396eb3409113c0edf73c2f661d008f9d6.tar.bz2 alisp-55293ae396eb3409113c0edf73c2f661d008f9d6.zip |
vec -> ivec
I'm going to implement a normal stable vector instead of an inline
vector so we have both options for use. I think that's smarter than
just sticking to one.
Diffstat (limited to 'constructor.c')
-rw-r--r-- | constructor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/constructor.c b/constructor.c index a2669ee..a20e66a 100644 --- a/constructor.c +++ b/constructor.c @@ -35,7 +35,7 @@ lisp_t *cons(sys_t *sys, lisp_t *car, lisp_t *cdr) lisp_t *make_vec(sys_t *sys, u64 capacity) { lvec_t *lvec = calloc(1, sizeof(*lvec)); - vec_make(&lvec->data, capacity); + ivec_make(&lvec->data, capacity); lisp_t *ptr = tag_vec(lvec); sys_register(sys, ptr); return ptr; |