diff options
Diffstat (limited to 'sway/list.c')
-rw-r--r-- | sway/list.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/list.c b/sway/list.c index 55052f85..52943efe 100644 --- a/sway/list.c +++ b/sway/list.c @@ -28,6 +28,7 @@ void list_add(list_t *list, void *item) { } void list_insert(list_t *list, int index, void *item) { + // TODO: Implement this properly if (list->length == list->capacity) { list->capacity += 10; list->items = realloc(list->items, sizeof(void*) * list->capacity); |