refactor(ast): one file per ast_type -- UNSTABLE (3)
This commit is contained in:
parent
68d8a1fd13
commit
e3ec484621
9 changed files with 76 additions and 9 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "../lists/lists.h"
|
||||
#include "utils/lists/lists.h"
|
||||
#include "utils/ast/ast.h"
|
||||
|
||||
struct ast_cmd
|
||||
|
|
@ -27,4 +27,9 @@ struct ast_cmd *ast_get_cmd(struct ast *node);
|
|||
*/
|
||||
struct ast *ast_create_cmd(struct list *cmd);
|
||||
|
||||
/*
|
||||
* @brief: frees the given ast_cmd.
|
||||
*/
|
||||
void ast_free_cmd(struct ast_cmd *cmd_data)
|
||||
|
||||
#endif /* ! AST_COMMAND_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue