aboutsummaryrefslogtreecommitdiff
path: root/include/macros.h
Commit message (Collapse)AuthorAgeFilesLines
* Add TODO() macroThomas Voss 2024-04-221-0/+2
|
* Use err() instead of the old errx()Thomas Voss 2024-04-151-2/+2
|
* Use __VA_ARGS__ in *eq() macrosThomas Voss 2024-04-111-3/+3
| | | | | | | | | | This allows for the macros to still work when passed macros as arguments that expand into multiple arguments. As an example, the following which was not possible is now possible: struct u8view sv1 = U8V("Kosiče"); struct u8view sv2 = ...; assert(u8eq(U8_ARGS(sv1), U8_ARGS(sv2)));
* Use errx() instead of warnx() in ASSUME()Thomas Voss 2024-03-151-2/+2
|
* Add CLAMP()Thomas Voss 2024-03-151-2/+3
|
* Add the U8_ARGS() macroThomas Voss 2024-03-101-3/+3
|
* Formatting fixesThomas Voss 2024-03-071-2/+4
|
* GenesisThomas Voss 2024-03-061-0/+22