From 2750e54a2ad5afeabb7093fc10e9fb686b6f6059 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Mon, 22 Jan 2024 18:34:19 -0800 Subject: add unglue --- include/stem.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/stem.h') diff --git a/include/stem.h b/include/stem.h index f252694..f4aff54 100644 --- a/include/stem.h +++ b/include/stem.h @@ -111,8 +111,8 @@ array_t *init_array(size_t size); /*! appends element to back of array */ void array_append(array_t *a, value_t *v); -/*! appends element to front of array */ -void array_curry(array_t *a, value_t *v); +/*! add element to array at index */ +void array_add(array_t *a, value_t *v, int index); /*! pops last element off of array */ value_t *array_pop(array_t *a); -- cgit