diff options
Diffstat (limited to 'lgc.h')
-rw-r--r-- | lgc.h | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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 @@ | |||
96 | LUAI_FUNC void luaC_separateudata (lua_State *L, int all); | 96 | LUAI_FUNC void luaC_separateudata (lua_State *L, int all); |
97 | LUAI_FUNC void luaC_freeallobjects (lua_State *L); | 97 | LUAI_FUNC void luaC_freeallobjects (lua_State *L); |
98 | LUAI_FUNC void luaC_step (lua_State *L); | 98 | LUAI_FUNC void luaC_step (lua_State *L); |
99 | LUAI_FUNC void luaC_runtilstate (lua_State *L, int validstates); | 99 | LUAI_FUNC void luaC_runtilstate (lua_State *L, int statesmask); |
100 | LUAI_FUNC void luaC_fullgc (lua_State *L, int isemergency); | 100 | LUAI_FUNC void luaC_fullgc (lua_State *L, int isemergency); |
101 | LUAI_FUNC void luaC_link (lua_State *L, GCObject *o, lu_byte tt); | 101 | LUAI_FUNC void luaC_link (lua_State *L, GCObject *o, lu_byte tt); |
102 | LUAI_FUNC void luaC_linkupval (lua_State *L, UpVal *uv); | 102 | LUAI_FUNC void luaC_linkupval (lua_State *L, UpVal *uv); |