bug: userdata to be collected still counts into new GC threshold,

increasing memory consumption
This commit is contained in:
Roberto Ierusalimschy
2003-07-29 16:25:37 -03:00
parent e89945aaa1
commit a0a384a6b1
2 changed files with 16 additions and 10 deletions

4
lgc.h
View File

@@ -1,5 +1,5 @@
/*
** $Id: lgc.h,v 1.19 2003/02/28 19:45:15 roberto Exp $
** $Id: lgc.h,v 1.20 2003/07/16 20:49:02 roberto Exp roberto $
** Garbage Collector
** See Copyright Notice in lua.h
*/
@@ -15,7 +15,7 @@
luaC_collectgarbage(L); }
void luaC_separateudata (lua_State *L);
size_t luaC_separateudata (lua_State *L);
void luaC_callGCTM (lua_State *L);
void luaC_sweep (lua_State *L, int all);
void luaC_collectgarbage (lua_State *L);