From dcf266228512e100e779fe72f2d4e9ebb605ffe6 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 21 Mar 2025 21:43:51 -0400 Subject: Move files into src/ and build into build/ --- src/structs.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/structs.h (limited to 'src/structs.h') diff --git a/src/structs.h b/src/structs.h new file mode 100644 index 00000000..328972cd --- /dev/null +++ b/src/structs.h @@ -0,0 +1,13 @@ +#pragma once + +// Compilation of user-defined structs + +#include + +#include "ast.h" +#include "environment.h" + +CORD compile_struct_typeinfo(env_t *env, type_t *t, const char *name, arg_ast_t *fields, bool is_secret, bool is_opaque); +CORD 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