aboutsummaryrefslogtreecommitdiff
path: root/lgc.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-02-14 14:43:14 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-02-14 14:43:14 -0200
commit1cce3e6842fd76099b1973dabd8504566610f068 (patch)
tree1f28b6c3952db089a664877a8cb693e66ec9c243 /lgc.h
parent0b04c561f5c08600831f3bb6126b062658d434b1 (diff)
downloadlua-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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lgc.h b/lgc.h
index a9e497c7..0e24d2c3 100644
--- a/lgc.h
+++ b/lgc.h
@@ -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 @@
126LUAI_FUNC void luaC_fix (lua_State *L, GCObject *o); 126LUAI_FUNC void luaC_fix (lua_State *L, GCObject *o);
127LUAI_FUNC void luaC_freeallobjects (lua_State *L); 127LUAI_FUNC void luaC_freeallobjects (lua_State *L);
128LUAI_FUNC void luaC_step (lua_State *L); 128LUAI_FUNC void luaC_step (lua_State *L);
129LUAI_FUNC void luaC_forcestep (lua_State *L);
130LUAI_FUNC void luaC_runtilstate (lua_State *L, int statesmask); 129LUAI_FUNC void luaC_runtilstate (lua_State *L, int statesmask);
131LUAI_FUNC void luaC_fullgc (lua_State *L, int isemergency); 130LUAI_FUNC void luaC_fullgc (lua_State *L, int isemergency);
132LUAI_FUNC GCObject *luaC_newobj (lua_State *L, int tt, size_t sz); 131LUAI_FUNC GCObject *luaC_newobj (lua_State *L, int tt, size_t sz);