diff options
author | wil <william.barsse@gmail.com> | 2016-12-29 20:30:32 +0100 |
---|---|---|
committer | wil <william.barsse@gmail.com> | 2016-12-29 20:31:30 +0100 |
commit | 1b87193c3d63c8d884b5a45451a000d9b930521e (patch) | |
tree | ed5797d8f716066f819ed2d81832a4d038b6b6c2 /include/list.h | |
parent | cleanup in auto layouts (diff) | |
download | sway-1b87193c3d63c8d884b5a45451a000d9b930521e.tar.gz sway-1b87193c3d63c8d884b5a45451a000d9b930521e.tar.zst sway-1b87193c3d63c8d884b5a45451a000d9b930521e.zip |
Added "layout promote" command.
Diffstat (limited to 'include/list.h')
-rw-r--r-- | include/list.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/list.h b/include/list.h index f478b6bb..7eead4ac 100644 --- a/include/list.h +++ b/include/list.h | |||
@@ -22,4 +22,6 @@ void list_qsort(list_t *list, int compare(const void *left, const void *right)); | |||
22 | int list_seq_find(list_t *list, int compare(const void *item, const void *cmp_to), const void *cmp_to); | 22 | int list_seq_find(list_t *list, int compare(const void *item, const void *cmp_to), const void *cmp_to); |
23 | // stable sort since qsort is not guaranteed to be stable | 23 | // stable sort since qsort is not guaranteed to be stable |
24 | void list_stable_sort(list_t *list, int compare(const void *a, const void *b)); | 24 | void list_stable_sort(list_t *list, int compare(const void *a, const void *b)); |
25 | // swap two elements in a list | ||
26 | void list_swap(list_t *list, int src, int dest); | ||
25 | #endif | 27 | #endif |