Added possiblity to print custom abort message

This commit is contained in:
Maieul BOYER 2024-05-08 16:14:16 +02:00
parent 09b2f62fc3
commit 8e90a858ad
No known key found for this signature in database
3 changed files with 14 additions and 13 deletions

View file

@ -6,7 +6,7 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/03 14:31:12 by maiboyer #+# #+# */
/* Updated: 2024/05/08 15:19:25 by maiboyer ### ########.fr */
/* Updated: 2024/05/08 16:11:35 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
@ -44,14 +44,11 @@ typedef struct s_list
typedef bool t_error;
void me_abort(void);
void me_abort(t_str msg);
void me_exit(t_i32 code);
void me_free(void *ptr);
void print_trace(void);
#define ERROR 1
#define NO_ERROR 0
#define __NonNullable
#endif