summaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-03-22 15:28:03 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-03-22 15:28:03 -0300
commit74123e96869bdb55d3967036e2bc0c6f9e0550d6 (patch)
tree06b60d23fb253c8ff1c640f34e15424455737395 /lua.h
parent9c196bebad4f84ffb43f0ef1e19792cc4b795704 (diff)
downloadlua-74123e96869bdb55d3967036e2bc0c6f9e0550d6.tar.gz
lua-74123e96869bdb55d3967036e2bc0c6f9e0550d6.tar.bz2
lua-74123e96869bdb55d3967036e2bc0c6f9e0550d6.zip
draft version of a generational mode for garbage collection. (Not well
tested; no major collections; ...)
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua.h b/lua.h
index 17852e08..a0f909a5 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.262 2010/03/13 03:57:46 roberto Exp roberto $ 2** $Id: lua.h,v 1.263 2010/03/19 21:04:17 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
@@ -267,6 +267,7 @@ LUA_API int (lua_status) (lua_State *L);
267#define LUA_GCSETPAUSE 6 267#define LUA_GCSETPAUSE 6
268#define LUA_GCSETSTEPMUL 7 268#define LUA_GCSETSTEPMUL 7
269#define LUA_GCISRUNNING 8 269#define LUA_GCISRUNNING 8
270#define LUA_GCGEN 9
270 271
271LUA_API int (lua_gc) (lua_State *L, int what, int data); 272LUA_API int (lua_gc) (lua_State *L, int what, int data);
272 273