summaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-09-03 11:14:01 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-09-03 11:14:01 -0300
commit6828f6d42786de735d6696da8cccbb47c8bad347 (patch)
tree4645194f43ebcfbd7a00af35278b1e688148760c /lua.h
parentdaa5fe3e31d8ca28a8770df135cbad7fa6fdfa4b (diff)
downloadlua-6828f6d42786de735d6696da8cccbb47c8bad347.tar.gz
lua-6828f6d42786de735d6696da8cccbb47c8bad347.tar.bz2
lua-6828f6d42786de735d6696da8cccbb47c8bad347.zip
new parameter 'majorinc' to control frequency of major collections
in generational mode
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/lua.h b/lua.h
index d17d8dc3..42c34ea5 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.272 2010/07/25 15:02:41 roberto Exp roberto $ 2** $Id: lua.h,v 1.273 2010/07/25 15:18:19 roberto Exp roberto $
3** Lua - A Scripting Language 3** Lua - A Scripting Language
4** Lua.org, PUC-Rio, Brazil (http://www.lua.org) 4** Lua.org, PUC-Rio, Brazil (http://www.lua.org)
5** See Copyright Notice at the end of this file 5** See Copyright Notice at the end of this file
@@ -271,9 +271,10 @@ LUA_API int (lua_status) (lua_State *L);
271#define LUA_GCSTEP 5 271#define LUA_GCSTEP 5
272#define LUA_GCSETPAUSE 6 272#define LUA_GCSETPAUSE 6
273#define LUA_GCSETSTEPMUL 7 273#define LUA_GCSETSTEPMUL 7
274#define LUA_GCISRUNNING 8 274#define LUA_GCSETMAJORINC 8
275#define LUA_GCGEN 9 275#define LUA_GCISRUNNING 9
276#define LUA_GCINC 10 276#define LUA_GCGEN 10
277#define LUA_GCINC 11
277 278
278LUA_API int (lua_gc) (lua_State *L, int what, int data); 279LUA_API int (lua_gc) (lua_State *L, int what, int data);
279 280