summaryrefslogtreecommitdiff
path: root/val.h
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-08-04 13:05:47 +0100
committerubq323 <ubq323@ubq323.website>2024-08-04 13:05:47 +0100
commit000e8ca43f4968412ed5c8fc514bb6caa3e5c450 (patch)
treee82eddb3cb54f75f8468e9a80a17e8b14857aa45 /val.h
parent1f257ac91ef3813c563203eacb5320b210fc1aa7 (diff)
new reader
Diffstat (limited to 'val.h')
-rw-r--r--val.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/val.h b/val.h
index 4f77828..aa68d05 100644
--- a/val.h
+++ b/val.h
@@ -83,6 +83,7 @@ ObjArr *objarr_new(State *S);
Val objarr_get(State *S, ObjArr *arr, size_t ix);
void objarr_append(State *S, ObjArr *arr, Val v);
void objarr_put(State *S, ObjArr *arr, size_t ix, Val v);
+void objarr_insert(State *S, ObjArr *arr, size_t ix, Val v);
#define IS_NIL(x) (x.ty == TY_NIL)
#define IS_NUM(x) (x.ty == TY_NUM)