diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-08-25 01:45:31 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-08-25 01:45:31 -0400 |
| commit | 6ffd8467af7c6138196930116fecf27fca9b8604 (patch) | |
| tree | 3a6070c00b3833c12991ad7e05a59fd20ae1aba8 /src/stdlib/mapmacro.h | |
| parent | bfb829b1fe85911a84454d6da1948910f42b2c5c (diff) | |
Update file header comments
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__))) |
