Closed ashishpatel1992 closed 4 years ago
Hi!
Currently there is a limit on the number of arguments passed to ft_u8write_ln
. ft_u8write_ln
is a macro, and extending the number of arguments is done manually. So obviously there should be some limit. At the moment it is 16.
Please note that ft_u8write_ln
is a utility macros around ft_u8nwrite_ln
. And the only thing ft_u8write_ln
does is checking arguments and counting their number. If you have a lot of arguments you can just use function ft_u8nwrite_ln
:
// n below - number of arguments
ft_u8nwrite_ln(table, n, .../*here goes arguments*/);
ft_u8nwrite_ln
doesn't have limitations on the number of arguments. But you'll have to provide number of arguments for this function yourself.
I am not able to add more than 15 columns as it throws compiler warning and segmentation fault on running it.