From a7b7cda49626594feb48c96ecf70573e06b8aa2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zo=C3=ABy=20Noort?= Date: Sun, 11 May 2025 19:24:24 +0200 Subject: [PATCH] feat: added string struct in libft.h --- hdrs/libft.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hdrs/libft.h b/hdrs/libft.h index 696caf1..c9f6803 100644 --- a/hdrs/libft.h +++ b/hdrs/libft.h @@ -3,6 +3,12 @@ # include +typedef struct s_string +{ + size_t len; + char *data; +} t_string; + int ft_strcmp(const char *s1, const char *s2); size_t ft_strlen(const char *s); int ft_putstr(const char *s);