rcx

library of miscellaneous bits of C code
git clone git://git.rr3.xyz/rcx
Log | Files | Refs | README | LICENSE

commit 2d70e4444719f01c9c8236dcf37b05e7f5a8f3f8
parent e757da1b5e257fe22dff240ae4e70c2a97c8520d
Author: Robert Russell <robertrussell.72001@gmail.com>
Date:   Sun, 24 Sep 2023 11:15:22 -0700

Add STRINGIFY helper macro, analogous to JOIN

Diffstat:
Minc/def.h | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/inc/def.h b/inc/def.h @@ -12,6 +12,9 @@ #define JOIN_AUX(a,b) a##b #define JOIN(a,b) JOIN_AUX(a,b) +#define STRINGIFY_AUX(x) #x +#define STRINGIFY(x) STRINGIFY_AUX(x) + #define VA_DROP1_(_0, ...) __VA_ARGS__ #define VA_DROP1(...) VA_DROP1_(__VA_ARGS__) #define VA_DROP2_(_0, _1, ...) __VA_ARGS__