aboutsummaryrefslogtreecommitdiff
path: root/cub3d.h
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-01-11 13:11:27 +0100
committerCharles <sircharlesaze@gmail.com>2020-01-11 13:11:27 +0100
commit2fdb9ad1d66e28e056f31bc6321d2c198db33290 (patch)
treec3c32462b6a09f1a9f393cc0216c2ffe3bdaaa09 /cub3d.h
parentcff05e83256a67b8cb23b16b1e1e6f761ff52f4c (diff)
downloadcub3d-2fdb9ad1d66e28e056f31bc6321d2c198db33290.tar.gz
cub3d-2fdb9ad1d66e28e056f31bc6321d2c198db33290.tar.bz2
cub3d-2fdb9ad1d66e28e056f31bc6321d2c198db33290.zip
Error messages with error helper
Diffstat (limited to 'cub3d.h')
-rw-r--r--cub3d.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/cub3d.h b/cub3d.h
index 71268b1..d14e512 100644
--- a/cub3d.h
+++ b/cub3d.h
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* 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 <stdio.h>
@@ -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