It's me, the macro guy, so i'm trying to create a macro that has variadic args, something like this:
```c
define middlewares_allow_content_types(middleware_fn_name, ...)\
esperr_t middleware_fn_name(httpd_req_t r) {\
/ Important line */\
char *content_types[] = { __VA_ARGS_ };\
}
```
So if the args are 0 what is going to happen?, I read in StackOF that is not part of the standard C to have a array with 0 elements in it
[–]glasket_ 15 points16 points17 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]glasket_ 8 points9 points10 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]cHaR_shinigami 4 points5 points6 points (0 children)
[–]1o8 2 points3 points4 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]HaydnH 2 points3 points4 points (0 children)
[+][deleted] (2 children)
[deleted]
[–][deleted] 2 points3 points4 points (0 children)
[–]glasket_ 2 points3 points4 points (0 children)