Loading...
Searching...
No Matches
Go to the documentation of this file.
5#define NNGN_PASTE(x, y) x ## y
12#define NNGN_PASTE2(x, y) NNGN_PASTE(x, y)
18#define NNGN_ARGC(...) \
19 NNGN_ARGC0(__VA_ARGS__ __VA_OPT__(,) 7, 6, 5, 4, 3, 2, 1, 0)
20#define NNGN_ARGC0(_0, _1, _2, _3, _4, _5, _6, _7, ...) _7
37#define NNGN_OVERLOAD(f, ...) \
38 NNGN_PASTE2(f, NNGN_ARGC(__VA_ARGS__))(__VA_ARGS__)