aboutsummaryrefslogtreecommitdiff
path: root/include/macros.h
Commit message (Collapse)AuthorAgeFilesLines
* Add encoding-generic macrosThomas Voss 2024-05-141-0/+2
|
* Go all in on string views, and fix manualsThomas Voss 2024-05-041-3/+3
|
* Add STR() and CONCAT() to macros.hThomas Voss 2024-05-041-0/+6
|
* Remove TODO()Thomas Voss 2024-04-221-2/+0
| | | | | | | | I realized that I can literally just call err() directly like so: err("not implemented"); It doesn’t contain position information… but I don’t really need that.
* 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