diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2025-04-12 10:54:23 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2025-04-12 10:54:23 -0700 |
commit | 77a5a77216e8c174e1df516d660c79643576c43c (patch) | |
tree | 780d1697ce288f007243e83ba0bf221091d24357 | |
parent | 35f42dbe74fee4b7dfcbb71def66dbc288acda18 (diff) |
util: add STRINGIFY() macro
-rw-r--r-- | src/util.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -23,4 +23,7 @@ #define MAX(_a, _b) ((_a) > (_b) ? (_a) : (_b)) #define NELEMS(_a) (sizeof(_a) / sizeof(_a[0])) +#define _STRINGIFY(_a) #_a +#define STRINGIFY(_a) _STRINGIFY(_a) + #endif |