From 2fdb9ad1d66e28e056f31bc6321d2c198db33290 Mon Sep 17 00:00:00 2001 From: Charles Date: Sat, 11 Jan 2020 13:11:27 +0100 Subject: Error messages with error helper --- cub3d.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'cub3d.h') diff --git a/cub3d.h b/cub3d.h index 71268b1..d14e512 100644 --- a/cub3d.h +++ b/cub3d.h @@ -6,7 +6,7 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/11/15 06:40:37 by cacharle #+# #+# */ -/* Updated: 2020/01/11 10:59:58 by cacharle ### ########.fr */ +/* Updated: 2020/01/11 12:54:44 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ #include @@ -203,6 +203,10 @@ double vector_norm(t_vector v); */ void error_put_usage_exit(char *name); +void error_put(char *message); +void *error_put_return(char *message); +void *error_put_return_state_destroy(char *message, t_state *state); +void *error_put_return_lines_state_destroy(char *message, t_state *state, char **lines); /* ** helper.c -- cgit