In essence I want to write
MACRO(a, b, c)
and have it result in
"a","b","c"
I tried using #__VA_ARGS__
, but it results in one string containing all arguments:
"a, b, c"
which is not what I want.
In essence I want to write
MACRO(a, b, c)
and have it result in
"a","b","c"
I tried using #__VA_ARGS__
, but it results in one string containing all arguments:
"a, b, c"
which is not what I want.
#define MACRO3(a, b, c) #a,#b,#c
Make one for each argument count you might use