cleaned up the sort but it's actually worse =/

added op cleanup function
need to work on optimising sort maybe with bottom-up
This commit is contained in:
Tanguy MAZE
2019-03-10 15:18:55 +01:00
parent d7cd178119
commit b993e0e68a
4 changed files with 72 additions and 37 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/06 11:07:38 by tmaze ### ########.fr */
/* Updated: 2019/03/10 12:14:19 by tmaze ### ########.fr */
/* */
/* ************************************************************************** */
@@ -53,6 +53,7 @@ void ps_rerot(t_psdata *data, char c);
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 check_input(char *in, int *ret);