aboutsummaryrefslogtreecommitdiff
path: root/enums.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-02-19 16:30:19 -0500
committerBruce Hill <bruce@bruce-hill.com>2025-02-19 16:30:19 -0500
commitb89291957acbefbb0e9db90421411094ebc6aed8 (patch)
treef37c2e971b1322b7e80c3bb8b163fadd16772441 /enums.h
parentc4479e4bd61fb2c68fdac2637a20d6d99f7b9552 (diff)
Restructure compile_file() so it moves a bit more towards less usage of
side effects
Diffstat (limited to 'enums.h')
-rw-r--r--enums.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/enums.h b/enums.h
index 68b03ec9..5f693e5a 100644
--- a/enums.h
+++ b/enums.h
@@ -7,7 +7,8 @@
#include "ast.h"
#include "environment.h"
-void compile_enum_def(env_t *env, ast_t *ast);
+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