Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | list: New drain_slist() macro | Tavian Barnes | 2024-09-19 | 1 | -0/+27 |
| | |||||
* | prelude: Split bfs-specific utilities into new bfs.h header | Tavian Barnes | 2024-08-28 | 1 | -0/+1 |
| | |||||
* | list: New SLIST_SPLICE() macro | Tavian Barnes | 2024-05-31 | 1 | -4/+20 |
| | |||||
* | list: Return the next cursor from SLIST_INSERT() | Tavian Barnes | 2024-01-30 | 1 | -7/+10 |
| | |||||
* | list: New SLIST_HEAD() and SLIST_TAIL() macros | Tavian Barnes | 2024-01-07 | 1 | -3/+40 |
| | |||||
* | list: Simplify slist_remove_impl() | Tavian Barnes | 2023-11-09 | 1 | -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 nodes | Tavian Barnes | 2023-10-12 | 1 | -21/+45 |
| | |||||
* | list: New for_[s]list() macros | Tavian Barnes | 2023-09-25 | 1 | -2/+60 |
| | |||||
* | list: Unify formatting | Tavian Barnes | 2023-09-25 | 1 | -16/+32 |
| | |||||
* | list: New [S]LIST_EMPTY() macros | Tavian Barnes | 2023-09-25 | 1 | -0/+18 |
| | |||||
* | list: New [S]LIST_ITEM_INIT() macros | Tavian Barnes | 2023-09-25 | 1 | -22/+52 |
| | |||||
* | list: Use (void)(...) rather than do { ... } while (0) | Tavian Barnes | 2023-09-25 | 1 | -31/+30 |
| | | | | This makes everything usable in expression contexts. | ||||
* | list: Fix some parameter docs | Tavian Barnes | 2023-07-04 | 1 | -4/+4 |
| | |||||
* | list: Allow popping from an empty list | Tavian Barnes | 2023-05-24 | 1 | -1/+3 |
| | |||||
* | list: Return the removed item from SLIST_POP() | Tavian Barnes | 2023-05-20 | 1 | -5/+16 |
| | |||||
* | list: New SLIST_INSERT() macro | Tavian Barnes | 2023-04-12 | 1 | -30/+41 |
| | |||||
* | list: s/link/node/ | Tavian Barnes | 2023-04-12 | 1 | -40/+40 |
| | |||||
* | list: Fix SLIST_REMOVE() on the tail | Tavian Barnes | 2023-04-01 | 1 | -8/+8 |
| | |||||
* | list: Fix a typo in SLIST_REMOVE() | Tavian Barnes | 2023-04-01 | 1 | -1/+1 |
| | |||||
* | list: Implement SLIST_REMOVE() | Tavian Barnes | 2023-04-01 | 1 | -7/+23 |
| | |||||
* | list: Simplify some macros | Tavian Barnes | 2023-04-01 | 1 | -12/+12 |
| | |||||
* | list: Use macros instead of type-erased lists | Tavian Barnes | 2023-03-31 | 1 | -159/+288 |
| | |||||
* | list: New helper macros for converting entries to items | Tavian Barnes | 2023-03-29 | 1 | -3/+60 |
| | |||||
* | list: New generic linked list API | Tavian Barnes | 2023-03-29 | 1 | -0/+170 |