aboutsummaryrefslogtreecommitdiff
path: root/include/ast.h
diff options
context:
space:
mode:
authorFlavian Kaufmann <flavian@flaviankaufmann.ch>2025-05-25 15:54:50 +0200
committerFlavian Kaufmann <flavian@flaviankaufmann.ch>2025-05-25 15:54:50 +0200
commit330e46236b421ffb8fe263caf91196f4cd1114c5 (patch)
tree09b3df77fca2d23dacef64f6962e9a1afd5b4d29 /include/ast.h
parentde59dbd1773dff06051b7b604977bcb2803ada4f (diff)
downloadimp-330e46236b421ffb8fe263caf91196f4cd1114c5.tar.gz
imp-330e46236b421ffb8fe263caf91196f4cd1114c5.zip
[cleanup] codebase cleanup
Diffstat (limited to 'include/ast.h')
-rw-r--r--include/ast.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/ast.h b/include/ast.h
index 068372e..a687a9b 100644
--- a/include/ast.h
+++ b/include/ast.h
@@ -8,7 +8,6 @@
* Provides data structures, enums, and functions for creating, managing, cloning, and freeing AST nodes.
*
* @author Flavian Kaufmann
- * @date 2025-05-23
*/
@@ -142,7 +141,7 @@ IMP_ASTNode *imp_ast_clone(const IMP_ASTNode *node);
*
* @param node Node to free.
*/
-void imp_ast_free(IMP_ASTNode *node);
+void imp_ast_destroy(IMP_ASTNode *node);
/**
* Creates a new linked list of AST nodes.
@@ -160,6 +159,6 @@ IMP_ASTNodeList *imp_ast_list(IMP_ASTNode *node, IMP_ASTNodeList *list);
*
* @param list List to free.
*/
-void imp_ast_list_free(IMP_ASTNodeList *list);
+void imp_ast_list_destroy(IMP_ASTNodeList *list);
#endif /* IMP_AST_H */ \ No newline at end of file