normed: output directory
This commit is contained in:
parent
7bb95e24a6
commit
3d11b63428
37 changed files with 692 additions and 708 deletions
34
output/include/me/vec/include_token_workaround.h
Normal file
34
output/include/me/vec/include_token_workaround.h
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* include_token_workaround.h :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/10/12 15:44:15 by maiboyer #+# #+# */
|
||||
/* Updated: 2024/10/12 15:44:35 by maiboyer ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef INCLUDE_TOKEN_WORKAROUND_H
|
||||
# define INCLUDE_TOKEN_WORKAROUND_H
|
||||
|
||||
# include "me/types.h"
|
||||
|
||||
typedef struct s_token t_token;
|
||||
|
||||
/// @brief A function that free an t_token
|
||||
typedef void (*t_free_token_item)(t_token elem);
|
||||
|
||||
/// @brief A dynamic array of t_token
|
||||
typedef struct s_vec_token t_vec_token;
|
||||
|
||||
struct s_vec_token
|
||||
{
|
||||
t_free_token_item free_func;
|
||||
t_usize len;
|
||||
t_usize capacity;
|
||||
t_token *buffer;
|
||||
};
|
||||
|
||||
#endif /* INCLUDE_TOKEN_WORKAROUND_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue