aboutsummaryrefslogtreecommitdiff
path: root/include/stem.h
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2024-01-22 18:34:19 -0800
committerPreston Pan <preston@nullring.xyz>2024-01-22 18:34:19 -0800
commit2750e54a2ad5afeabb7093fc10e9fb686b6f6059 (patch)
tree114b0e79cc9bb92d8be32fbb30100cab507a15e0 /include/stem.h
parentab4eaabe940c1593ac060d91c652fcdb587786c0 (diff)
add unglue
Diffstat (limited to 'include/stem.h')
-rw-r--r--include/stem.h4
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);