diff options
Diffstat (limited to 'src/stdlib/mapmacro.h')
| -rw-r--r-- | src/stdlib/mapmacro.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stdlib/mapmacro.h b/src/stdlib/mapmacro.h index 68834f8f..7b0e3c4e 100644 --- a/src/stdlib/mapmacro.h +++ b/src/stdlib/mapmacro.h @@ -1,9 +1,9 @@ -#pragma once - // This file defines a MAP_LIST(fn, ...) function that applies a function to // every one of the varargs. // For example: baz(MAP_LIST(foo, 1, "x")) -> baz(foo(1), foo("x")) +#pragma once + #define EVAL0(...) __VA_ARGS__ #define EVAL1(...) EVAL0(EVAL0(EVAL0(__VA_ARGS__))) #define EVAL2(...) EVAL1(EVAL1(EVAL1(__VA_ARGS__))) |
