trying to work

This commit is contained in:
Maieul BOYER 2024-01-11 21:28:36 +01:00
parent 3d3d7a35ab
commit 2776ee1ebc
No known key found for this signature in database
25 changed files with 1621 additions and 0 deletions

28
include/app/state.h Normal file
View file

@ -0,0 +1,28 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* state.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/11 14:27:25 by maiboyer #+# #+# */
/* Updated: 2024/01/11 14:36:28 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef STATE_H
#define STATE_H
#include "me/types.h"
#include "me/vec/vec_element.h"
typedef struct s_state
{
t_vec_element stack_a;
t_vec_element stack_b;
} t_state;
t_state parses_arguments(t_usize count, t_str nums[]);
void free_state(t_state state);
#endif /* STATE_H */