aboutsummaryrefslogtreecommitdiff
path: root/src/compile/structs.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-08-24 15:29:52 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-08-24 15:29:52 -0400
commit3f9f82ca53ed353d10ae65fc958e73193e8d9739 (patch)
treecb92b570cd78a015cb62ae5c776d14cad7fe2b22 /src/compile/structs.h
parent634d1ad756fca46e1e8aec93a265998232dd58a6 (diff)
Move more stuff into structs/enums files
Diffstat (limited to 'src/compile/structs.h')
-rw-r--r--src/compile/structs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compile/structs.h b/src/compile/structs.h
index f24ed15a..8185b561 100644
--- a/src/compile/structs.h
+++ b/src/compile/structs.h
@@ -5,8 +5,11 @@
#include "../ast.h"
#include "../environment.h"
+Text_t compile_empty_struct(type_t *t);
Text_t compile_struct_typeinfo(env_t *env, type_t *t, const char *name, arg_ast_t *fields, bool is_secret,
bool is_opaque);
Text_t compile_struct_header(env_t *env, ast_t *ast);
+Text_t compile_struct_field_access(env_t *env, ast_t *ast);
+Text_t compile_struct_literal(env_t *env, ast_t *ast, type_t *t, arg_ast_t *args);
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0