diff options
author | ubq323 <ubq323@ubq323.website> | 2024-08-17 21:29:40 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2024-08-17 21:29:52 +0100 |
commit | faba0abf74dcdab3a4957bd8f13afa3c4dd19950 (patch) | |
tree | 5dc4f0110ffe204e83fc9db94f52d0803416d25a /val.h | |
parent | fc5fb73c08d563ae441f785276f1304da7538fea (diff) |
add delete! and objarr_delete
Diffstat (limited to 'val.h')
-rw-r--r-- | val.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -86,6 +86,7 @@ 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); +void objarr_delete(State *S, ObjArr *arr, size_t ix); #define IS_NIL(x) (x.ty == TY_NIL) #define IS_NUM(x) (x.ty == TY_NUM) |