push_swap/inc/push_swap.h

34 lines
1.1 KiB
C

/* ************************************************************************** */
/* */
/* ::: o_ :::::: ::: */
/* push_swap.h :+: / :+::+: :+: */
/* +:+ > +:++:+ +:+ */
/* By: whaffman <whaffman@student.codam.nl> +#+ +:+ +#++#++:++#++ */
/* +#+ +#+#+ +#++#+ +#+ \o/ */
/* Created: 2024/11/04 13:58:35 by whaffman #+#+# #+#+# #+# #+# | */
/* Updated: 2024/11/04 14:11:03 by whaffman ### ### ### ### / \ */
/* */
/* ************************************************************************** */
typedef struct s_clist
{
void *content;
struct s_clist *next;
struct s_clist *prev;
} t_clist;
typedef struct s_node
{
int n;
int ra;
int rb;
int rr;
int rra;
int rrb;
int rrr;
int pa;
int pb;
int sa;
int sb;
} t_node;