diff options
Diffstat (limited to 'src/enums.h')
| -rw-r--r-- | src/enums.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/enums.h b/src/enums.h new file mode 100644 index 00000000..5f693e5a --- /dev/null +++ b/src/enums.h @@ -0,0 +1,14 @@ +#pragma once + +// Compilation of tagged unions (enums) + +#include <gc/cord.h> + +#include "ast.h" +#include "environment.h" + +CORD compile_enum_typeinfo(env_t *env, ast_t *ast); +CORD compile_enum_constructors(env_t *env, ast_t *ast); +CORD compile_enum_header(env_t *env, ast_t *ast); + +// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 |
