WIP IFS spliiting
This commit is contained in:
parent
de9a72e368
commit
f56432b372
18 changed files with 629 additions and 37 deletions
32
exec/include/exec/_tuple_expanded_str.h
Normal file
32
exec/include/exec/_tuple_expanded_str.h
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* _tuple_expanded_str.h :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/07/24 15:45:08 by maiboyer #+# #+# */
|
||||
/* Updated: 2024/07/24 16:02:04 by maiboyer ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef _TUPLE_EXPANDED_STR_H
|
||||
# define _TUPLE_EXPANDED_STR_H
|
||||
|
||||
# include "me/types.h"
|
||||
|
||||
typedef struct s_expandable_str t_expandable_str;
|
||||
|
||||
struct s_expandable_str {
|
||||
t_str value;
|
||||
bool do_expand;
|
||||
};
|
||||
|
||||
static inline void free_expandable_str(t_expandable_str self)
|
||||
{
|
||||
void mem_free(void *ptr);
|
||||
|
||||
mem_free(self.value);
|
||||
}
|
||||
|
||||
#endif /* _TUPLE_EXPANDED_STR_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue