From b26780671b058011605985b91fada4381d4cde19 Mon Sep 17 00:00:00 2001 From: David Gailleton Date: Mon, 8 Dec 2025 14:26:13 +0100 Subject: [PATCH] struct define + mkdir stack functions folder --- push_swap.h | 23 +++++++++++++++++++++++ test.c => stack_functions/.gitkeep | 0 2 files changed, 23 insertions(+) create mode 100644 push_swap.h rename test.c => stack_functions/.gitkeep (100%) diff --git a/push_swap.h b/push_swap.h new file mode 100644 index 0000000..3bbbc06 --- /dev/null +++ b/push_swap.h @@ -0,0 +1,23 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* push_swap.h :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: dgaillet +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2025/12/08 14:18:06 by dgaillet #+# #+# */ +/* Updated: 2025/12/08 14:23:40 by dgaillet ### ########lyon.fr */ +/* */ +/* ************************************************************************** */ + +#ifndef PUSH_SWAP_H +# define PUSH_SWAP_H + +typedef struct s_stack +{ + int value; + s_stack *next; + s_stack *previous; +} t_stack; + +#endif diff --git a/test.c b/stack_functions/.gitkeep similarity index 100% rename from test.c rename to stack_functions/.gitkeep