Normed most of the stdme

This commit is contained in:
Maieul BOYER 2024-07-10 18:06:10 +02:00
parent 882d5cb5bb
commit ac5458d42c
No known key found for this signature in database
31 changed files with 149 additions and 617 deletions

View file

@ -6,7 +6,7 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/07/08 21:50:27 by maiboyer #+# #+# */
/* Updated: 2024/07/08 21:54:45 by maiboyer ### ########.fr */
/* Updated: 2024/07/10 18:01:53 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
@ -15,9 +15,9 @@
#include "me/string/string.h"
#include "me/types.h"
t_error string_remove(t_string *self, t_usize pos, char *out)
t_error string_remove(t_string *self, t_usize pos, char *out)
{
char fake_out;
char fake_out;
if (out == NULL)
out = &fake_out;
@ -30,7 +30,7 @@ t_error string_remove(t_string *self, t_usize pos, char *out)
return (NO_ERROR);
}
t_error string_clear_after(t_string *self, t_usize pos)
t_error string_clear_after(t_string *self, t_usize pos)
{
if (self == NULL || pos >= self->len)
return (ERROR);