summaryrefslogtreecommitdiff
path: root/sway/list.c
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2015-08-09 20:10:26 -0400
committerDrew DeVault <[email protected]>2015-08-09 20:10:26 -0400
commit9f091c7f82a73144b4eb4ca4f5f800c811fbab46 (patch)
tree76726b112e18cc537e080568c7e5df30520a3ed9 /sway/list.c
parent1669da719c96e80cc5c462bbd648b17c7cd25a82 (diff)
Add movement support
Diffstat (limited to 'sway/list.c')
-rw-r--r--sway/list.c1
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);