aboutsummaryrefslogtreecommitdiff
path: root/lgc.h
diff options
context:
space:
mode:
Diffstat (limited to 'lgc.h')
-rw-r--r--lgc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lgc.h b/lgc.h
index 6a03f787..9aff11f5 100644
--- a/lgc.h
+++ b/lgc.h
@@ -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: