diff options
author | Preston Pan <preston@nullring.xyz> | 2024-01-22 18:34:19 -0800 |
---|---|---|
committer | Preston Pan <preston@nullring.xyz> | 2024-01-22 18:34:19 -0800 |
commit | 2750e54a2ad5afeabb7093fc10e9fb686b6f6059 (patch) | |
tree | 114b0e79cc9bb92d8be32fbb30100cab507a15e0 /include/stem.h | |
parent | ab4eaabe940c1593ac060d91c652fcdb587786c0 (diff) |
add unglue
Diffstat (limited to 'include/stem.h')
-rw-r--r-- | include/stem.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |