From 9f091c7f82a73144b4eb4ca4f5f800c811fbab46 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 9 Aug 2015 20:10:26 -0400 Subject: Add movement support --- sway/list.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sway/list.c') 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); -- cgit v1.2.3-54-g00ecf