From 3f9f82ca53ed353d10ae65fc958e73193e8d9739 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 24 Aug 2025 15:29:52 -0400 Subject: Move more stuff into structs/enums files --- src/compile/structs.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/compile/structs.h') 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 -- cgit v1.2.3