/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* _tuple_expanded_str.h :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: maiboyer +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/07/24 15:45:08 by maiboyer #+# #+# */ /* Updated: 2024/08/05 15:13:17 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 *str); mem_free(self.value); } #endif /* _TUPLE_EXPANDED_STR_H */