From 86ec152433baf8daf39f03a59c6842cbe33a179d Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 21 Dec 2021 07:39:25 -0300 Subject: Details correction in macro for hard tests + type in comment --- llimits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llimits.h') diff --git a/llimits.h b/llimits.h index 6c56ba5a..52a32f92 100644 --- a/llimits.h +++ b/llimits.h @@ -361,7 +361,7 @@ typedef l_uint32 Instruction; #define condchangemem(L,pre,pos) ((void)0) #else #define condchangemem(L,pre,pos) \ - { if (G(L)->gcrunning) { pre; luaC_fullgc(L, 0); pos; } } + { if (gcrunning(G(L))) { pre; luaC_fullgc(L, 0); pos; } } #endif #endif -- cgit v1.2.3-55-g6feb