diff options
Diffstat (limited to 'include/ast.h')
-rw-r--r-- | include/ast.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/ast.h b/include/ast.h index b14c26d..ef06257 100644 --- a/include/ast.h +++ b/include/ast.h @@ -43,15 +43,12 @@ struct LhsExpr { }; Ast ast_none(); -void ast_deinit(Ast *ast); -void funcdecl_init(FunctionDecl *self); -void funcdecl_deinit(FunctionDecl *self); +CHECK_RESULT int funcdecl_init(FunctionDecl *self, ScopedAllocator *allocator); CHECK_RESULT int funcdecl_add_to_body(FunctionDecl *self, Ast ast); void funccall_init(FunctionCall *self, BufferView name); void lhsexpr_init(LhsExpr *self, int isConst, BufferView var_name); -void lhsexpr_deinit(LhsExpr *self); #endif |