aboutsummaryrefslogtreecommitdiff
path: root/builtins
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-06-01 11:25:14 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-06-01 11:25:14 -0400
commitb4dc8587946d5300ae983c9c3cfc2d03f76ed746 (patch)
treec5e159fc4fd65fb7f9b62b12379df48a7b2100c8 /builtins
parent11efaa6f8f45aa4557a3a80dfc32f885ac455908 (diff)
Change how floats are serialized
Diffstat (limited to 'builtins')
-rw-r--r--builtins/util.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/builtins/util.h b/builtins/util.h
index dc42d570..5b71fa2b 100644
--- a/builtins/util.h
+++ b/builtins/util.h
@@ -32,8 +32,6 @@ CORD CORD_asprintf(CORD fmt, ...);
#define CORD_appendf(cord, fmt, ...) CORD_sprintf(cord, "%r" fmt, *(cord) __VA_OPT__(,) __VA_ARGS__)
#define CORD_all(...) CORD_catn(sizeof((CORD[]){__VA_ARGS__})/sizeof(CORD), __VA_ARGS__)
-#define asprintfa(...) ({ char *_buf = alloca(snprintf(0, 0, __VA_ARGS__)); sprintf(_buf, __VA_ARGS__); _buf; })
-
#define REVERSE_LIST(list) do { \
__typeof(list) _prev = NULL; \
__typeof(list) _next = NULL; \