diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-07-29 16:25:37 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-07-29 16:25:37 -0300 |
commit | a0a384a6b14b16bce8f48d2f2d327e716ae68f3d (patch) | |
tree | 52980dbf3ade5c1259b8b2916555677c5eb9b8e7 /lgc.h | |
parent | e89945aaa1f42cb41f401c44c56ed0c4a98004c6 (diff) | |
download | lua-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 | ||
18 | void luaC_separateudata (lua_State *L); | 18 | size_t luaC_separateudata (lua_State *L); |
19 | void luaC_callGCTM (lua_State *L); | 19 | void luaC_callGCTM (lua_State *L); |
20 | void luaC_sweep (lua_State *L, int all); | 20 | void luaC_sweep (lua_State *L, int all); |
21 | void luaC_collectgarbage (lua_State *L); | 21 | void luaC_collectgarbage (lua_State *L); |