aboutsummaryrefslogtreecommitdiff
path: root/compile.h
diff options
context:
space:
mode:
Diffstat (limited to 'compile.h')
-rw-r--r--compile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/compile.h b/compile.h
index 6be4a997..205d5517 100644
--- a/compile.h
+++ b/compile.h
@@ -11,6 +11,7 @@
typedef struct {
const char *module_name;
+ env_t *env;
CORD header, c_file, object_files;
} module_code_t;
@@ -23,5 +24,6 @@ CORD compile(env_t *env, ast_t *ast);
void compile_namespace(env_t *env, const char *ns_name, ast_t *block);
CORD compile_statement(env_t *env, ast_t *ast);
CORD compile_type_info(env_t *env, type_t *t);
+CORD compile_cli_arg_call(env_t *env, CORD fn_name, type_t *fn_type);
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0