From 57154250c71aee7d7827afd3c608ba876f51206a Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 9 Aug 2025 15:16:27 -0400 Subject: Deprecate cords from the gc library in favor of dogfooding Text from the Tomo standard library. --- src/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/types.h') diff --git a/src/types.h b/src/types.h index 3b789560..be16cd5f 100644 --- a/src/types.h +++ b/src/types.h @@ -132,7 +132,7 @@ struct type_s { #define NUM_TYPE Type(NumType, .bits=TYPE_NBITS64) #define NewFunctionType(ret, ...) _make_function_type(ret, sizeof((arg_t[]){__VA_ARGS__})/sizeof(arg_t), (arg_t[]){__VA_ARGS__}) -CORD type_to_cord(type_t *t); +Text_t type_to_text(type_t *t); const char *type_to_str(type_t *t); const char *get_type_name(type_t *t); PUREFUNC bool type_eq(type_t *a, type_t *b); -- cgit v1.2.3