summaryrefslogtreecommitdiffstats
path: root/include/zix/ring.h
AgeCommit message (Collapse)AuthorFilesLines
2022-06-28Fix incorrect function attributesDavid Robillard1-3/+3
The ring accessors are pure, not const, because they read pointed-to data (the ring) that may change between invocations. The BTree iter comparison is const because it only compares the values passed as parameters (although they contain pointers, they aren't dereferenced).
2021-09-14Make ZixAllocator a single flat structDavid Robillard1-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-10Adopt REUSE machine-readable licensing standardDavid Robillard1-15/+2
2021-09-10Add custom allocator supportDavid Robillard1-1/+2
2021-09-10Add nullability annotationsDavid Robillard1-11/+13
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-10Move attribute definitions to a separate headerDavid Robillard1-1/+1
2021-07-17Use line comments where appropriateDavid Robillard1-24/+8
2020-12-31Update copyright headersDavid Robillard1-1/+1
2020-12-31Separate source from headersDavid Robillard1-0/+141