aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-12-06 15:53:42 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-12-06 15:53:42 -0200
commit39a8082f50c7321d75425f08a551a1d331dcea2d (patch)
tree2a942d2647897371dc104b0271783f78cd0415f8 /lua.h
parent531874f6ce9f47f81294beeeba6cd0c15402411c (diff)
downloadlua-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.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/lua.h b/lua.h
index 8e005d09..80c7f1b3 100644
--- a/lua.h
+++ b/lua.h
@@ -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
229LUA_API int lua_gc (lua_State *L, int what, int data); 231LUA_API int lua_gc (lua_State *L, int what, int data);
230 232