mirror of
https://github.com/swaywm/sway.git
synced 2026-04-29 06:46:22 -04:00
Updated list operations
This commit is contained in:
parent
508200e83d
commit
6b05f44339
5 changed files with 63 additions and 58 deletions
|
|
@ -84,7 +84,7 @@ list_t *split_string(const char *str, const char *delims) {
|
|||
}
|
||||
|
||||
void free_flat_list(list_t *list) {
|
||||
list_free_with(list, list_elem_free);
|
||||
list_free_withp(list, free);
|
||||
}
|
||||
|
||||
char **split_args(const char *start, int *argc) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue