diff options
author | Drew DeVault <[email protected]> | 2015-08-09 20:10:26 -0400 |
---|---|---|
committer | Drew DeVault <[email protected]> | 2015-08-09 20:10:26 -0400 |
commit | 9f091c7f82a73144b4eb4ca4f5f800c811fbab46 (patch) | |
tree | 76726b112e18cc537e080568c7e5df30520a3ed9 /sway/list.c | |
parent | 1669da719c96e80cc5c462bbd648b17c7cd25a82 (diff) |
Add movement support
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); |