2024-01-31 16:15:47 +01:00
|
|
|
/* ************************************************************************** */
|
|
|
|
|
/* */
|
|
|
|
|
/* ::: :::::::: */
|
|
|
|
|
/* iter_state.h :+: :+: :+: */
|
|
|
|
|
/* +:+ +:+ +:+ */
|
|
|
|
|
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
|
|
|
|
/* +#+#+#+#+#+ +#+ */
|
|
|
|
|
/* Created: 2024/01/31 14:19:06 by maiboyer #+# #+# */
|
|
|
|
|
/* Updated: 2024/01/31 14:19:50 by maiboyer ### ########.fr */
|
|
|
|
|
/* */
|
|
|
|
|
/* ************************************************************************** */
|
|
|
|
|
|
|
|
|
|
#ifndef ITER_STATE_H
|
2024-02-08 14:27:45 +01:00
|
|
|
# define ITER_STATE_H
|
2024-01-31 16:15:47 +01:00
|
|
|
|
2024-02-08 14:27:45 +01:00
|
|
|
# include "me/types.h"
|
2024-01-31 16:15:47 +01:00
|
|
|
|
|
|
|
|
typedef struct s_iter_state
|
|
|
|
|
{
|
2024-02-08 14:27:45 +01:00
|
|
|
t_usize pos;
|
2024-01-31 16:15:47 +01:00
|
|
|
t_i64 elem;
|
2024-02-08 14:27:45 +01:00
|
|
|
} t_iter_state;
|
2024-01-31 16:15:47 +01:00
|
|
|
|
|
|
|
|
#endif /* ITER_STATE_H */
|