aboutsummaryrefslogtreecommitdiff
path: root/lgc.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-07-29 16:25:37 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-07-29 16:25:37 -0300
commita0a384a6b14b16bce8f48d2f2d327e716ae68f3d (patch)
tree52980dbf3ade5c1259b8b2916555677c5eb9b8e7 /lgc.h
parente89945aaa1f42cb41f401c44c56ed0c4a98004c6 (diff)
downloadlua-a0a384a6b14b16bce8f48d2f2d327e716ae68f3d.tar.gz
lua-a0a384a6b14b16bce8f48d2f2d327e716ae68f3d.tar.bz2
lua-a0a384a6b14b16bce8f48d2f2d327e716ae68f3d.zip
bug: userdata to be collected still counts into new GC threshold,
increasing memory consumption
Diffstat (limited to 'lgc.h')
-rw-r--r--lgc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lgc.h b/lgc.h
index 4e66eaa8..85f3b43e 100644
--- a/lgc.h
+++ b/lgc.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lgc.h,v 1.19 2003/02/28 19:45:15 roberto Exp $ 2** $Id: lgc.h,v 1.20 2003/07/16 20:49:02 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*/
@@ -15,7 +15,7 @@
15 luaC_collectgarbage(L); } 15 luaC_collectgarbage(L); }
16 16
17 17
18void luaC_separateudata (lua_State *L); 18size_t luaC_separateudata (lua_State *L);
19void luaC_callGCTM (lua_State *L); 19void luaC_callGCTM (lua_State *L);
20void luaC_sweep (lua_State *L, int all); 20void luaC_sweep (lua_State *L, int all);
21void luaC_collectgarbage (lua_State *L); 21void luaC_collectgarbage (lua_State *L);