aboutsummaryrefslogtreecommitdiff
path: root/structs.h
blob: b189b0db2de6cf728d828494e581de7f9294d411 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

// Compilation of user-defined structs

#include <gc/cord.h>

#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);
CORD compile_struct_header(env_t *env, ast_t *ast);

// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0