From faba0abf74dcdab3a4957bd8f13afa3c4dd19950 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Sat, 17 Aug 2024 21:29:40 +0100 Subject: add delete! and objarr_delete --- val.h | 1 + 1 file changed, 1 insertion(+) (limited to 'val.h') diff --git a/val.h b/val.h index 097c06a..7f8fd81 100644 --- a/val.h +++ b/val.h @@ -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) -- cgit v1.2.3