From 230161a50cb3202adff70b43694c0537e561aead Mon Sep 17 00:00:00 2001 From: SDL Wiki Bot Date: Tue, 23 Jul 2024 22:49:23 +0000 Subject: [PATCH] Sync SDL3 wiki -> header --- include/SDL3/SDL_stdinc.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/SDL3/SDL_stdinc.h b/include/SDL3/SDL_stdinc.h index 022daf899b..1b157786a6 100644 --- a/include/SDL3/SDL_stdinc.h +++ b/include/SDL3/SDL_stdinc.h @@ -91,8 +91,9 @@ void *alloca(size_t); /** * The number of elements in an array. * - * NOTE: This macro double-evaluates the argument, so you should never have - * side effects in the parameter. + * This macro looks like it double-evaluates the argument, but it does so + * inside of `sizeof`, so there are no side-effects here, as expressions do + * not actually run any code in these cases. * * \since This macro is available since SDL 3.0.0. */