diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-03-27 17:26:51 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-03-27 17:26:51 -0400 |
| commit | 3c52a756339a2d96824d21a7d3ad5de7fc1085a0 (patch) | |
| tree | e5299a25ebb76186d6372b700710d7c8c7fe0728 /src/ast.h | |
| parent | 2186e84de0c0fd47ba48eaa35f74ea2754c3b81f (diff) | |
Deprecate custom printf specifiers in favor of print() function that
uses _Generic() to generically convert any value to a string or print as
a string.
Diffstat (limited to 'src/ast.h')
| -rw-r--r-- | src/ast.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -4,7 +4,6 @@ #include <err.h> #include <gc/cord.h> -#include <printf.h> #include <stdbool.h> #include <stdint.h> #include <stdlib.h> @@ -344,8 +343,8 @@ struct ast_s { }; CORD ast_to_xml(ast_t *ast); +const char *ast_to_str(ast_t *ast); CORD type_ast_to_xml(type_ast_t *ast); -int printf_ast(FILE *stream, const struct printf_info *info, const void *const args[]); PUREFUNC bool is_idempotent(ast_t *ast); void visit_topologically(ast_list_t *ast, Closure_t fn); |
