diff --git a/include/list/typed_list.h b/include/list/typed_list.h index eeabe52..6869515 100644 --- a/include/list/typed_list.h +++ b/include/list/typed_list.h @@ -50,6 +50,7 @@ } while (0) #define list_pop(LP) (LP->count -= 1) +#define list_set(LP, IDX, ITEM) LP->items[IDX] = ITEM #define list_get(LP, IDX) LP->items[IDX] #define list_merge(T, ARENA, DST, LP1, LP2) \