Last change
on this file since 1803 was
1803,
checked in by rgrieder, 16 years ago
|
added files for lua 5.1.3, lua 5.0.3, CEGUILua-0.6.1 and CEGUILua-0.5.0b
|
-
Property svn:eol-style set to
native
|
File size:
533 bytes
|
Line | |
---|
1 | /* |
---|
2 | ** $Id: lgc.h,v 1.19a 2003/02/28 19:45:15 roberto Exp $ |
---|
3 | ** Garbage Collector |
---|
4 | ** See Copyright Notice in lua.h |
---|
5 | */ |
---|
6 | |
---|
7 | #ifndef lgc_h |
---|
8 | #define lgc_h |
---|
9 | |
---|
10 | |
---|
11 | #include "lobject.h" |
---|
12 | |
---|
13 | |
---|
14 | #define luaC_checkGC(L) { lua_assert(!(L->ci->state & CI_CALLING)); \ |
---|
15 | if (G(L)->nblocks >= G(L)->GCthreshold) luaC_collectgarbage(L); } |
---|
16 | |
---|
17 | |
---|
18 | size_t luaC_separateudata (lua_State *L); |
---|
19 | void luaC_callGCTM (lua_State *L); |
---|
20 | void luaC_sweep (lua_State *L, int all); |
---|
21 | void luaC_collectgarbage (lua_State *L); |
---|
22 | void luaC_link (lua_State *L, GCObject *o, lu_byte tt); |
---|
23 | |
---|
24 | |
---|
25 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.