aboutsummaryrefslogtreecommitdiff
path: root/structs.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 /structs.h
parent31c8d0af1597b6b4996a90808b1b8c0983db309e (diff)
Split header compilation into a separate function
Diffstat (limited to 'structs.h')
-rw-r--r--structs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/structs.h b/structs.h
index 9a17f314..166a382b 100644
--- a/structs.h
+++ b/structs.h
@@ -2,9 +2,12 @@
// Compilation of user-defined structs
+#include <gc/cord.h>
+
#include "ast.h"
#include "environment.h"
void compile_struct_def(env_t *env, ast_t *ast);
+CORD compile_struct_header(env_t *env, ast_t *ast);
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0