Add list_set function
This commit is contained in:
parent
e96400f74e
commit
ade35f3940
@ -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) \
|
||||
|
Loading…
Reference in New Issue
Block a user