aboutsummaryrefslogtreecommitdiff
path: root/src/enums.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-08-09 15:16:27 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-08-09 15:16:27 -0400
commit57154250c71aee7d7827afd3c608ba876f51206a (patch)
tree00a6e6b7a24107c7c95dde5405989c4b1b2c44a0 /src/enums.h
parentd1f967ffb4dc099a34f54434be10a58eb33b81f7 (diff)
Deprecate cords from the gc library in favor of dogfooding Text from the
Tomo standard library.
Diffstat (limited to 'src/enums.h')
-rw-r--r--src/enums.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/enums.h b/src/enums.h
index 5f693e5a..6f394a60 100644
--- a/src/enums.h
+++ b/src/enums.h
@@ -2,13 +2,12 @@
// Compilation of tagged unions (enums)
-#include <gc/cord.h>
-
#include "ast.h"
#include "environment.h"
+#include "stdlib/datatypes.h"
-CORD compile_enum_typeinfo(env_t *env, ast_t *ast);
-CORD compile_enum_constructors(env_t *env, ast_t *ast);
-CORD compile_enum_header(env_t *env, ast_t *ast);
+Text_t compile_enum_typeinfo(env_t *env, ast_t *ast);
+Text_t compile_enum_constructors(env_t *env, ast_t *ast);
+Text_t compile_enum_header(env_t *env, ast_t *ast);
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0