aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/builtins.h2
-rw-r--r--include/stem.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/include/builtins.h b/include/builtins.h
index 38b9965..3b87aff 100644
--- a/include/builtins.h
+++ b/include/builtins.h
@@ -18,6 +18,8 @@ void stemdiv(value_t *v);
* [quote] */
void stemfunc(value_t *v);
+void steminsert(value_t *v);
+
/*! @brief takes first number to the power of the second, pushes result on the
* stack */
void stempow(value_t *v);
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);