diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-02-13 13:08:00 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-02-13 13:08:00 -0500 |
| commit | cf70dac0be983ef8a395bd017ac9975760d3fe4b (patch) | |
| tree | 51b3fe6e9219a3dc32792274d13f513d1ede4f95 /util.h | |
| parent | f3b9d577c2a64e8a81f7d1c75c1eb560b1940f62 (diff) | |
Fix multi-assignment
Diffstat (limited to 'util.h')
| -rw-r--r-- | util.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -25,6 +25,7 @@ char *heap_strn(const char *str, size_t len); char *heap_str(const char *str); char *heap_strf(const char *fmt, ...); CORD CORD_asprintf(const char *fmt, ...); +#define CORD_appendf(cord, fmt, ...) CORD_sprintf(cord, "%r" fmt, *(cord) __VA_OPT__(,) __VA_ARGS__) #define REVERSE_LIST(list) do { \ __typeof(list) _prev = NULL; \ |
