refactor(ast): one file per ast_type -- FINISHED
This commit is contained in:
parent
38f5a35885
commit
30df2993ee
10 changed files with 85 additions and 51 deletions
|
|
@ -4,7 +4,7 @@
|
|||
#include <stdbool.h>
|
||||
|
||||
#include "utils/lists/lists.h"
|
||||
#include "utils/ast/ast.h"
|
||||
#include "utils/ast/ast_base.h"
|
||||
|
||||
struct ast_cmd
|
||||
{
|
||||
|
|
@ -28,8 +28,8 @@ struct ast_cmd *ast_get_cmd(struct ast *node);
|
|||
struct ast *ast_create_cmd(struct list *cmd);
|
||||
|
||||
/*
|
||||
* @brief: frees the given ast_cmd.
|
||||
* @brief: frees the given ast_cmd and sets the pointer to NULL.
|
||||
*/
|
||||
void ast_free_cmd(struct ast_cmd *cmd_data)
|
||||
void ast_free_cmd(struct ast_cmd **cmd_data);
|
||||
|
||||
#endif /* ! AST_COMMAND_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue