]> de.git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ast.h
ast_local/global_codegen exposed through the header for now
[xonotic/gmqcc.git] / ast.h
diff --git a/ast.h b/ast.h
index f1149994226f054b912c02e636e1772c94f3d159..bea59d57b25055e87ea0793e52ef94d2df6201ee 100644 (file)
--- a/ast.h
+++ b/ast.h
@@ -117,6 +117,8 @@ void ast_value_delete(ast_value*);
 bool ast_value_set_name(ast_value*, const char *name);
 
 bool ast_value_codegen(ast_value*, ast_function*, bool lvalue, ir_value**);
+bool ast_local_codegen(ast_value *self, ir_function *func);
+bool ast_global_codegen(ast_value *self, ir_builder *ir);
 
 /* Binary
  *