30 lines
1.2 KiB
C
30 lines
1.2 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* state.h :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2024/01/11 14:27:25 by maiboyer #+# #+# */
|
|
/* Updated: 2024/01/29 22:15:52 by maiboyer ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef STATE_H
|
|
#define STATE_H
|
|
|
|
#include "me/types.h"
|
|
#include "me/vec/vec_i64.h"
|
|
#include "me/vec/vec_i64_bool.h"
|
|
|
|
typedef struct s_state
|
|
{
|
|
t_vec_i64_bool sorted;
|
|
t_vec_i64 stack_a;
|
|
t_vec_i64 stack_b;
|
|
} t_state;
|
|
|
|
t_state parses_arguments(t_usize count, t_str nums[]);
|
|
void free_state(t_state state);
|
|
|
|
#endif /* STATE_H */
|