diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-12-06 15:53:42 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-12-06 15:53:42 -0200 |
commit | 39a8082f50c7321d75425f08a551a1d331dcea2d (patch) | |
tree | 2a942d2647897371dc104b0271783f78cd0415f8 /lua.h | |
parent | 531874f6ce9f47f81294beeeba6cd0c15402411c (diff) | |
download | lua-39a8082f50c7321d75425f08a551a1d331dcea2d.tar.gz lua-39a8082f50c7321d75425f08a551a1d331dcea2d.tar.bz2 lua-39a8082f50c7321d75425f08a551a1d331dcea2d.zip |
more options for controling the GC
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.h,v 1.194 2004/10/18 12:51:44 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.195 2004/12/01 15:50:18 roberto Exp roberto $ |
3 | ** Lua - An Extensible Extension Language | 3 | ** Lua - An Extensible Extension Language |
4 | ** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil | 4 | ** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil |
5 | ** http://www.lua.org mailto:info@lua.org | 5 | ** http://www.lua.org mailto:info@lua.org |
@@ -220,11 +220,13 @@ LUA_API int lua_threadstatus (lua_State *L); | |||
220 | ** garbage-collection function and options | 220 | ** garbage-collection function and options |
221 | */ | 221 | */ |
222 | 222 | ||
223 | #define LUA_GCSTOP 0 | 223 | #define LUA_GCSTOP 0 |
224 | #define LUA_GCRESTART 1 | 224 | #define LUA_GCRESTART 1 |
225 | #define LUA_GCCOLLECT 2 | 225 | #define LUA_GCCOLLECT 2 |
226 | #define LUA_GCCOUNT 3 | 226 | #define LUA_GCCOUNT 3 |
227 | #define LUA_GCSTEP 4 | 227 | #define LUA_GCSTEP 4 |
228 | #define LUA_GCSETSTEPMUL 5 | ||
229 | #define LUA_GCSETINCMODE 6 | ||
228 | 230 | ||
229 | LUA_API int lua_gc (lua_State *L, int what, int data); | 231 | LUA_API int lua_gc (lua_State *L, int what, int data); |
230 | 232 | ||