aboutsummaryrefslogtreecommitdiff
path: root/lgc.h
diff options
context:
space:
mode:
Diffstat (limited to 'lgc.h')
-rw-r--r--lgc.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/lgc.h b/lgc.h
index cc285b3e..976b7442 100644
--- a/lgc.h
+++ b/lgc.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lgc.h,v 2.24 2009/11/26 11:39:20 roberto Exp roberto $ 2** $Id: lgc.h,v 2.25 2009/12/11 19:14:59 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*/
@@ -14,12 +14,12 @@
14/* 14/*
15** Possible states of the Garbage Collector 15** Possible states of the Garbage Collector
16*/ 16*/
17#define GCSpause 1 17#define GCSpause 0
18#define GCSpropagate 2 18#define GCSpropagate 1
19#define GCSatomic 4 19#define GCSatomic 2
20#define GCSsweepstring 8 20#define GCSsweepstring 3
21#define GCSsweep 16 21#define GCSsweep 4
22#define GCSfinalize 32 22#define GCSfinalize 5
23 23
24 24
25 25
@@ -96,7 +96,7 @@
96LUAI_FUNC void luaC_separateudata (lua_State *L, int all); 96LUAI_FUNC void luaC_separateudata (lua_State *L, int all);
97LUAI_FUNC void luaC_freeallobjects (lua_State *L); 97LUAI_FUNC void luaC_freeallobjects (lua_State *L);
98LUAI_FUNC void luaC_step (lua_State *L); 98LUAI_FUNC void luaC_step (lua_State *L);
99LUAI_FUNC void luaC_runtilstate (lua_State *L, int validstates); 99LUAI_FUNC void luaC_runtilstate (lua_State *L, int statesmask);
100LUAI_FUNC void luaC_fullgc (lua_State *L, int isemergency); 100LUAI_FUNC void luaC_fullgc (lua_State *L, int isemergency);
101LUAI_FUNC void luaC_link (lua_State *L, GCObject *o, lu_byte tt); 101LUAI_FUNC void luaC_link (lua_State *L, GCObject *o, lu_byte tt);
102LUAI_FUNC void luaC_linkupval (lua_State *L, UpVal *uv); 102LUAI_FUNC void luaC_linkupval (lua_State *L, UpVal *uv);