aboutsummaryrefslogtreecommitdiff
path: root/lgc.h
diff options
context:
space:
mode:
Diffstat (limited to 'lgc.h')
-rw-r--r--lgc.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lgc.h b/lgc.h
index 0d77edb5..39691b33 100644
--- a/lgc.h
+++ b/lgc.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lgc.h,v 2.88 2015/10/20 17:56:21 roberto Exp roberto $ 2** $Id: lgc.h,v 2.89 2015/10/20 18:00:19 roberto Exp roberto $
3** Garbage Collector 3** Garbage Collector
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -108,7 +108,8 @@
108** GC cycle on every opportunity) 108** GC cycle on every opportunity)
109*/ 109*/
110#define luaC_condGC(L,pre,pos) \ 110#define luaC_condGC(L,pre,pos) \
111 {if (G(L)->GCdebt > 0) { pre; luaC_step(L); pos;}; condchangemem(L);} 111 { if (G(L)->GCdebt > 0) { pre; luaC_step(L); pos;}; \
112 condchangemem(L,pre,pos); }
112 113
113/* more often than not, 'pre'/'pos' are empty */ 114/* more often than not, 'pre'/'pos' are empty */
114#define luaC_checkGC(L) luaC_condGC(L,,) 115#define luaC_checkGC(L) luaC_condGC(L,,)