aboutsummaryrefslogtreecommitdiff
path: root/enums.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-06-06 16:28:53 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-06-06 16:28:53 -0400
commit8c7d53008072dfda8b9d60be92fae1a8046fae5d (patch)
tree769407e0461b3c989c27a740c423827a21adfa91 /enums.h
parent31c8d0af1597b6b4996a90808b1b8c0983db309e (diff)
Split header compilation into a separate function
Diffstat (limited to 'enums.h')
-rw-r--r--enums.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/enums.h b/enums.h
index f69ae63f..68b03ec9 100644
--- a/enums.h
+++ b/enums.h
@@ -2,9 +2,12 @@
// Compilation of tagged unions (enums)
+#include <gc/cord.h>
+
#include "ast.h"
#include "environment.h"
void compile_enum_def(env_t *env, ast_t *ast);
+CORD compile_enum_header(env_t *env, ast_t *ast);
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0