diff options
author | 2015-08-16 11:02:56 -0400 | |
---|---|---|
committer | 2015-08-16 11:02:56 -0400 | |
commit | 7f8ebb7d0dcb687574554b877a0e84f48718df37 (patch) | |
tree | 9a58f9276059d3c88cb3a92d8229a911b33b0faf /sway/list.h | |
parent | Add split [h|v|horizontal|vertical] command (diff) | |
download | sway-7f8ebb7d0dcb687574554b877a0e84f48718df37.tar.gz sway-7f8ebb7d0dcb687574554b877a0e84f48718df37.tar.zst sway-7f8ebb7d0dcb687574554b877a0e84f48718df37.zip |
Move headers to include/
Diffstat (limited to 'sway/list.h')
-rw-r--r-- | sway/list.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/sway/list.h b/sway/list.h deleted file mode 100644 index 29b988aa..00000000 --- a/sway/list.h +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | #ifndef _SWAY_LIST_H | ||
2 | #define _SWAY_LIST_H | ||
3 | |||
4 | typedef struct { | ||
5 | int capacity; | ||
6 | int length; | ||
7 | void **items; | ||
8 | } list_t; | ||
9 | |||
10 | list_t *create_list(void); | ||
11 | void list_free(list_t *list); | ||
12 | void list_add(list_t *list, void *item); | ||
13 | void list_insert(list_t *list, int index, void *item); | ||
14 | void list_del(list_t *list, int index); | ||
15 | void list_cat(list_t *list, list_t *source); | ||
16 | |||
17 | #endif | ||