diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-02-14 14:43:14 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-02-14 14:43:14 -0200 |
commit | 1cce3e6842fd76099b1973dabd8504566610f068 (patch) | |
tree | 1f28b6c3952db089a664877a8cb693e66ec9c243 /lgc.h | |
parent | 0b04c561f5c08600831f3bb6126b062658d434b1 (diff) | |
download | lua-1cce3e6842fd76099b1973dabd8504566610f068.tar.gz lua-1cce3e6842fd76099b1973dabd8504566610f068.tar.bz2 lua-1cce3e6842fd76099b1973dabd8504566610f068.zip |
change in the way 'collectgarbage("step", size)' interprets 'size'
(mimicking the way the GC itself behaves when Lua allocates 'size'
Kbytes)
Diffstat (limited to 'lgc.h')
-rw-r--r-- | lgc.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lgc.h,v 2.78 2014/02/13 12:11:34 roberto Exp roberto $ | 2 | ** $Id: lgc.h,v 2.79 2014/02/13 14:46:38 roberto Exp roberto $ |
3 | ** Garbage Collector | 3 | ** Garbage Collector |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -126,7 +126,6 @@ | |||
126 | LUAI_FUNC void luaC_fix (lua_State *L, GCObject *o); | 126 | LUAI_FUNC void luaC_fix (lua_State *L, GCObject *o); |
127 | LUAI_FUNC void luaC_freeallobjects (lua_State *L); | 127 | LUAI_FUNC void luaC_freeallobjects (lua_State *L); |
128 | LUAI_FUNC void luaC_step (lua_State *L); | 128 | LUAI_FUNC void luaC_step (lua_State *L); |
129 | LUAI_FUNC void luaC_forcestep (lua_State *L); | ||
130 | LUAI_FUNC void luaC_runtilstate (lua_State *L, int statesmask); | 129 | LUAI_FUNC void luaC_runtilstate (lua_State *L, int statesmask); |
131 | LUAI_FUNC void luaC_fullgc (lua_State *L, int isemergency); | 130 | LUAI_FUNC void luaC_fullgc (lua_State *L, int isemergency); |
132 | LUAI_FUNC GCObject *luaC_newobj (lua_State *L, int tt, size_t sz); | 131 | LUAI_FUNC GCObject *luaC_newobj (lua_State *L, int tt, size_t sz); |