Actually it might be OK =)

normed out most files
still need to split functions accordingly
still need to check for hidden norm errors
This commit is contained in:
Tanguy MAZE
2019-03-15 17:00:08 +01:00
parent 3d54238d24
commit 079902b834
5 changed files with 149 additions and 148 deletions

View File

@@ -6,7 +6,7 @@
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/02/21 14:13:53 by tmaze #+# #+# */
/* Updated: 2019/03/10 12:14:19 by tmaze ### ########.fr */
/* Updated: 2019/03/15 15:33:18 by tmaze ### ########.fr */
/* */
/* ************************************************************************** */
@@ -17,8 +17,6 @@
# include <unistd.h>
# include "libft.h"
# include <stdio.h>
typedef struct s_stack
{
int nb;
@@ -33,11 +31,9 @@ typedef struct s_psdata
size_t size_a;
size_t size_b;
t_list *op;
char viz;
} t_psdata;
char **ft_strsplitwhitespace(char *s);
int ft_iswhitespace(char c);
t_stack *ps_stknew(int nb);
void ps_stkpsh(t_psdata *data, char c, t_stack *new);
t_stack *ps_stkpop(t_psdata *data, char c);
@@ -54,7 +50,7 @@ void ps_rrerot(t_psdata *data);
int is_op(char *buff);
t_list *add_op(t_psdata *data, char *op);
int get_params(t_psdata *data, int ac, char **av);
int get_params(t_psdata *data, int ac, char **av, int viz);
int check_input(char *in, int *ret);
#endif