aboutsummaryrefslogtreecommitdiff
path: root/src/push_swap/push_swap.h
blob: 9426ccadf720966d0618477472def1677240c53f (plain)
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
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   push_swap.h                                        :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: cacharle <marvin@42.fr>                    +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2020/01/19 09:10:11 by cacharle          #+#    #+#             */
/*   Updated: 2020/01/21 10:20:04 by cacharle         ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

#ifndef PUSH_SWAP_H
# define PUSH_SWAP_H

# include "libft.h"
# include "common.h"

/*
** sort.c
*/

void	push_swap_sort(t_stack *main, t_stack *tmp);

/*
** stack_wrapper.c
*/

void	stack_swap_print(t_stack *stack);
void	stack_rotate_print(t_stack *stack);
void	stack_push_to_print(t_stack *from, t_stack *to);
void	stack_reverse_rotate_print(t_stack *stack);

#endif