feat: adding the t_func type
- t_func type is for pointer function propose
This commit is contained in:
parent
6de09d44e7
commit
0d58f8cf64
1 changed files with 6 additions and 0 deletions
|
|
@ -17,7 +17,13 @@
|
|||
# include <stddef.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);
|
||||
void ft_putnbr_base(int fd, u_int64_t nbr, char *base, int *to_ret);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue