Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-09-14 | Make ZixAllocator a single flat struct | David Robillard | 1 | -1/+1 | |
I can never decide between these two patterns for polymorphic objects in C, but this one seems more appropriate here since it's more conducive to inheritance. | |||||
2021-09-11 | Fix zix_btree_free() nullable annotation | David Robillard | 1 | -1/+1 | |
2021-09-10 | Adopt REUSE machine-readable licensing standard | David Robillard | 1 | -15/+2 | |
2021-09-10 | Add custom allocator support | David Robillard | 1 | -1/+4 | |
2021-09-10 | Add nullability annotations | David Robillard | 1 | -24/+31 | |
This allows clang to issue warnings at compile time when null is passed to a non-null parameter. For public entry points, also add assertions to catch such issues when the compiler does not support this. | |||||
2021-09-10 | Move attribute definitions to a separate header | David Robillard | 1 | -0/+1 | |
2021-09-10 | Add a user handle to destroy callback | David Robillard | 1 | -2/+6 | |
2021-09-10 | Simplify BTree implementation | David Robillard | 1 | -7/+31 | |
2021-09-10 | Allow ZixBTreeIter to be allocated on the stack | David Robillard | 1 | -40/+50 | |
2021-09-10 | Remove destroy field of BTree and add zix_btree_clear() | David Robillard | 1 | -3/+18 | |
If this is used, it is only when clearing or freeing a tree. Allowing it to be given as a parameter directly there is clearer and avoids bloating the tree itself with information that isn't needed. | |||||
2021-07-17 | Use line comments where appropriate | David Robillard | 1 | -36/+13 | |
2020-12-31 | Update copyright headers | David Robillard | 1 | -1/+1 | |
2020-12-31 | Separate source from headers | David Robillard | 1 | -0/+187 | |