diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-11-09 16:55:17 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-11-09 16:55:17 -0200 |
commit | 1ce819333d3f02d14d983dbddb236e72d4555c7f (patch) | |
tree | d77bbff87e140161cb6b0e6d423da1123de10e88 /lua.h | |
parent | 88eb901f81d647714d14b6f7e7c6455b46a27daa (diff) | |
download | lua-1ce819333d3f02d14d983dbddb236e72d4555c7f.tar.gz lua-1ce819333d3f02d14d983dbddb236e72d4555c7f.tar.bz2 lua-1ce819333d3f02d14d983dbddb236e72d4555c7f.zip |
new option 'isrunning' for 'lua_gc' (and 'collectgarbage')
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.h,v 1.247 2009/11/05 16:48:31 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.248 2009/11/05 17:26:00 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_GCSTEP 5 | 267 | #define LUA_GCSTEP 5 |
268 | #define LUA_GCSETPAUSE 6 | 268 | #define LUA_GCSETPAUSE 6 |
269 | #define LUA_GCSETSTEPMUL 7 | 269 | #define LUA_GCSETSTEPMUL 7 |
270 | #define LUA_GCISRUNNING 8 | ||
270 | 271 | ||
271 | LUA_API int (lua_gc) (lua_State *L, int what, int data); | 272 | LUA_API int (lua_gc) (lua_State *L, int what, int data); |
272 | 273 | ||