diff options
Diffstat (limited to 'lgc.h')
-rw-r--r-- | lgc.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -193,7 +193,8 @@ | |||
193 | #define LUAI_GCSTEPSIZE 250 | 193 | #define LUAI_GCSTEPSIZE 250 |
194 | 194 | ||
195 | 195 | ||
196 | #define setgcparam(g,p,v) if ((v) >= 0) {g->p = luaO_codeparam(v);} | 196 | #define setgcparam(g,p,v) (g->gcparams[LUA_GCP##p] = luaO_codeparam(v)) |
197 | #define applygcparam(g,p,x) luaO_applyparam(g->gcparams[LUA_GCP##p], x) | ||
197 | 198 | ||
198 | /* | 199 | /* |
199 | ** Control when GC is running: | 200 | ** Control when GC is running: |