]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ast.h
ast_type_to_string function
[xonotic/gmqcc.git] / ast.h
diff --git a/ast.h b/ast.h
index 272b388a7be9257357a3d3b457c0923888ceb0e9..0c41d1f06ef5ee9a7484dc7e0f4b86266e4b415d 100644 (file)
--- a/ast.h
+++ b/ast.h
@@ -169,6 +169,7 @@ bool ast_compare_type(ast_expression *a, ast_expression *b);
 ast_expression* ast_type_copy(lex_ctx ctx, const ast_expression *ex);
 #define ast_type_adopt(a, b) ast_type_adopt_impl((ast_expression*)(a), (ast_expression*)(b))
 bool ast_type_adopt_impl(ast_expression *self, const ast_expression *other);
+void ast_type_to_string(ast_expression *e, char *buf, size_t bufsize);
 
 /* Binary
  *