push_swap/include/app/dup_state.h
2024-01-11 21:28:36 +01:00

26 lines
1.1 KiB
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* dup_state.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/11 15:58:29 by maiboyer #+# #+# */
/* Updated: 2024/01/11 15:59:29 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef DUP_STATE_H
#define DUP_STATE_H
#include "app/element.h"
#include "me/types.h"
typedef struct s_dup_state
{
t_element *lhs;
t_usize index_to_skip;
bool found_dup;
} t_dup_state;
#endif /* DUP_STATE_H */