aboutsummaryrefslogtreecommitdiff
path: root/lgc.h
diff options
context:
space:
mode:
Diffstat (limited to 'lgc.h')
-rw-r--r--lgc.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lgc.h b/lgc.h
index b4097b05..f8a18782 100644
--- a/lgc.h
+++ b/lgc.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lgc.h,v 2.7 2004/08/24 20:12:06 roberto Exp roberto $ 2** $Id: lgc.h,v 2.8 2004/08/30 13:44:44 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*/
@@ -86,6 +86,10 @@
86 { if (iswhite(obj2gco(o)) && isblack(obj2gco(p))) \ 86 { if (iswhite(obj2gco(o)) && isblack(obj2gco(p))) \
87 luaC_barrierf(L,obj2gco(p),obj2gco(o)); } 87 luaC_barrierf(L,obj2gco(p),obj2gco(o)); }
88 88
89#define luaC_objbarriert(L,p,o) \
90 { if (iswhite(obj2gco(o)) && isblack(obj2gco(p))) \
91 luaC_barrierback(L,obj2gco(p),obj2gco(o)); }
92
89size_t luaC_separateudata (lua_State *L, int all); 93size_t luaC_separateudata (lua_State *L, int all);
90void luaC_callGCTM (lua_State *L); 94void luaC_callGCTM (lua_State *L);
91void luaC_freeall (lua_State *L); 95void luaC_freeall (lua_State *L);