-
Notifications
You must be signed in to change notification settings - Fork 0
/
stacks.h
35 lines (29 loc) · 1.63 KB
/
stacks.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* stacks.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: lgasc <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/31 17:09:49 by lgasc #+# #+# */
/* Updated: 2024/02/15 21:41:17 by lgasc ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef STACKS_H
# define STACKS_H
# include "libft/libft.h"
# include "push_swap_types.h"
void ft_print_stacks(struct s_stacks stacks);
struct s_int_option ft_primary_top(struct s_stacks stacks)
__attribute__ ((warn_unused_result));
struct s_int_option ft_primary_next(struct s_stacks stacks)
__attribute__ ((warn_unused_result));
struct s_int_option ft_primary_bottom(struct s_stacks stacks)
__attribute__ ((warn_unused_result));
struct s_int_option ft_secondary_top(struct s_stacks stacks)
__attribute__ ((warn_unused_result));
struct s_int_option ft_secondary_next(struct s_stacks stacks)
__attribute__ ((warn_unused_result));
struct s_int_option ft_secondary_bottom(struct s_stacks stacks)
__attribute__ ((warn_unused_result));
#endif