From 74123e96869bdb55d3967036e2bc0c6f9e0550d6 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 22 Mar 2010 15:28:03 -0300 Subject: draft version of a generational mode for garbage collection. (Not well tested; no major collections; ...) --- lua.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lua.h') diff --git a/lua.h b/lua.h index 17852e08..a0f909a5 100644 --- a/lua.h +++ b/lua.h @@ -1,5 +1,5 @@ /* -** $Id: lua.h,v 1.262 2010/03/13 03:57:46 roberto Exp roberto $ +** $Id: lua.h,v 1.263 2010/03/19 21:04:17 roberto Exp roberto $ ** Lua - A Scripting Language ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) ** See Copyright Notice at the end of this file @@ -267,6 +267,7 @@ LUA_API int (lua_status) (lua_State *L); #define LUA_GCSETPAUSE 6 #define LUA_GCSETSTEPMUL 7 #define LUA_GCISRUNNING 8 +#define LUA_GCGEN 9 LUA_API int (lua_gc) (lua_State *L, int what, int data); -- cgit v1.2.3-55-g6feb