Normed this shit

This commit is contained in:
Raphael (rparodi) 2024-07-30 16:35:56 +02:00
parent 5bc68504f9
commit 61ef75f212
26 changed files with 286 additions and 318 deletions

View file

@ -6,7 +6,7 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/12/24 19:06:05 by maiboyer #+# #+# */
/* Updated: 2024/07/30 16:26:28 by maiboyer ### ########.fr */
/* Updated: 2024/07/30 16:35:28 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
@ -17,7 +17,7 @@
#include <stdlib.h>
/// This has to be added into the me/fs/fs.h header at one point
t_error read_to_vec(t_const_str filename, t_vec_u8 *out);
t_error read_to_vec(t_const_str filename, t_vec_u8 *out);
t_i32 qoi_write(t_const_str filename, const void *data,
const t_qoi_desc *desc)

View file

@ -6,7 +6,7 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/05/07 11:08:03 by maiboyer #+# #+# */
/* Updated: 2024/07/30 16:20:50 by maiboyer ### ########.fr */
/* Updated: 2024/07/30 16:34:34 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
@ -87,9 +87,9 @@ void me_abort(t_str msg)
{
if (msg == NULL)
msg = "No message provided";
put_string_fd(get_stderr(),"Abort: ");
put_string_fd(get_stderr(),msg);
put_char_fd(get_stderr(),'\n');
put_string_fd(get_stderr(), "Abort: ");
put_string_fd(get_stderr(), msg);
put_char_fd(get_stderr(), '\n');
print_trace();
me_exit(134);
}