normal mode, command mode

This commit is contained in:
Luka Jankovic 2025-07-02 01:16:19 +02:00
parent d41e801aeb
commit ecc8a1df95
10 changed files with 133 additions and 14 deletions

View file

@ -63,6 +63,12 @@
static inline type name##_get(struct name *arr, size_t index) { \
assert(index < arr->count); \
return arr->data[index]; \
} \
\
static inline void name##_set(struct name *arr, type new_val, \
size_t index) { \
assert(index < arr->count); \
arr->data[index] = new_val; \
}
#endif