feat: adding the t_func type

- t_func type is for pointer function propose
This commit is contained in:
Raphael 2025-09-19 16:09:44 +02:00
parent 6de09d44e7
commit 0d58f8cf64
No known key found for this signature in database

View file

@ -17,7 +17,13 @@
# include <stddef.h> # include <stddef.h>
# include <stdint.h> # include <stdint.h>
typedef int (*t_func)(va_list, int fd);
typedef struct s_format
{
char character;
t_func function;
} t_format;
size_t ft_strlen(const char *str); size_t ft_strlen(const char *str);
void ft_putnbr_base(int fd, u_int64_t nbr, char *base, int *to_ret); void ft_putnbr_base(int fd, u_int64_t nbr, char *base, int *to_ret);