From 634d1ad756fca46e1e8aec93a265998232dd58a6 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 24 Aug 2025 15:10:41 -0400 Subject: Move structs/enums into the right folder --- src/compile/structs.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/compile/structs.h (limited to 'src/compile/structs.h') diff --git a/src/compile/structs.h b/src/compile/structs.h new file mode 100644 index 00000000..f24ed15a --- /dev/null +++ b/src/compile/structs.h @@ -0,0 +1,12 @@ +#pragma once + +// Compilation of user-defined structs + +#include "../ast.h" +#include "../environment.h" + +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); + +// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 -- cgit v1.2.3