From 6ffd8467af7c6138196930116fecf27fca9b8604 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 25 Aug 2025 01:45:31 -0400 Subject: Update file header comments --- src/stdlib/mapmacro.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/stdlib/mapmacro.h') 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__))) -- cgit v1.2.3