summaryrefslogtreecommitdiffstats
path: root/src/list.h
Commit message (Collapse)AuthorAgeFilesLines
* prelude: Split bfs-specific utilities into new bfs.h headerTavian Barnes2024-08-281-0/+1
|
* list: New SLIST_SPLICE() macroTavian Barnes2024-05-311-4/+20
|
* list: Return the next cursor from SLIST_INSERT()Tavian Barnes2024-01-301-7/+10
|
* list: New SLIST_HEAD() and SLIST_TAIL() macrosTavian Barnes2024-01-071-3/+40
|
* list: Simplify slist_remove_impl()Tavian Barnes2023-11-091-4/+4
| | | | We now assume that all-bits-zero is a null pointer, so memset is fine.
* list: Assert that we're not inserting already-attached nodesTavian Barnes2023-10-121-21/+45
|
* list: New for_[s]list() macrosTavian Barnes2023-09-251-2/+60
|
* list: Unify formattingTavian Barnes2023-09-251-16/+32
|
* list: New [S]LIST_EMPTY() macrosTavian Barnes2023-09-251-0/+18
|
* list: New [S]LIST_ITEM_INIT() macrosTavian Barnes2023-09-251-22/+52
|
* list: Use (void)(...) rather than do { ... } while (0)Tavian Barnes2023-09-251-31/+30
| | | | This makes everything usable in expression contexts.
* list: Fix some parameter docsTavian Barnes2023-07-041-4/+4
|
* list: Allow popping from an empty listTavian Barnes2023-05-241-1/+3
|
* list: Return the removed item from SLIST_POP()Tavian Barnes2023-05-201-5/+16
|
* list: New SLIST_INSERT() macroTavian Barnes2023-04-121-30/+41
|
* list: s/link/node/Tavian Barnes2023-04-121-40/+40
|
* list: Fix SLIST_REMOVE() on the tailTavian Barnes2023-04-011-8/+8
|
* list: Fix a typo in SLIST_REMOVE()Tavian Barnes2023-04-011-1/+1
|
* list: Implement SLIST_REMOVE()Tavian Barnes2023-04-011-7/+23
|
* list: Simplify some macrosTavian Barnes2023-04-011-12/+12
|
* list: Use macros instead of type-erased listsTavian Barnes2023-03-311-159/+288
|
* list: New helper macros for converting entries to itemsTavian Barnes2023-03-291-3/+60
|
* list: New generic linked list APITavian Barnes2023-03-291-0/+170