summaryrefslogtreecommitdiff
path: root/lgc.h
diff options
context:
space:
mode:
Diffstat (limited to 'lgc.h')
-rw-r--r--lgc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lgc.h b/lgc.h
index 1c6396e6..ccaaeab3 100644
--- a/lgc.h
+++ b/lgc.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lgc.h,v 2.63 2013/08/20 17:46:34 roberto Exp roberto $ 2** $Id: lgc.h,v 2.64 2013/08/21 19:21:16 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*/
@@ -76,8 +76,7 @@
76#define WHITE1BIT 1 /* object is white (type 1) */ 76#define WHITE1BIT 1 /* object is white (type 1) */
77#define BLACKBIT 2 /* object is black */ 77#define BLACKBIT 2 /* object is black */
78#define FINALIZEDBIT 3 /* object has been marked for finalization */ 78#define FINALIZEDBIT 3 /* object has been marked for finalization */
79#define FIXEDBIT 4 /* object is fixed (should not be collected) */ 79#define LOCALBIT 4 /* object is not local */
80#define LOCALBIT 5 /* object is not local */
81/* bit 7 is currently used by tests (luaL_checkmemory) */ 80/* bit 7 is currently used by tests (luaL_checkmemory) */
82 81
83#define WHITEBITS bit2mask(WHITE0BIT, WHITE1BIT) 82#define WHITEBITS bit2mask(WHITE0BIT, WHITE1BIT)
@@ -127,6 +126,7 @@
127 { if (nolocal(obj2gco(o)), isblack(obj2gco(p)) && iswhite(obj2gco(o))) \ 126 { if (nolocal(obj2gco(o)), isblack(obj2gco(p)) && iswhite(obj2gco(o))) \
128 luaC_barrierback_(L,p); } 127 luaC_barrierback_(L,p); }
129 128
129LUAI_FUNC void luaC_fix (lua_State *L, GCObject *o);
130LUAI_FUNC void luaC_freeallobjects (lua_State *L); 130LUAI_FUNC void luaC_freeallobjects (lua_State *L);
131LUAI_FUNC void luaC_step (lua_State *L); 131LUAI_FUNC void luaC_step (lua_State *L);
132LUAI_FUNC void luaC_forcestep (lua_State *L); 132LUAI_FUNC void luaC_forcestep (lua_State *L);