From cf70dac0be983ef8a395bd017ac9975760d3fe4b Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 13 Feb 2024 13:08:00 -0500 Subject: Fix multi-assignment --- util.h | 1 + 1 file changed, 1 insertion(+) (limited to 'util.h') diff --git a/util.h b/util.h index 90ac8b3d..1c098781 100644 --- a/util.h +++ b/util.h @@ -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; \ -- cgit v1.2.3