resurect userdata before calling its GC tag method

This commit is contained in:
Roberto Ierusalimschy
2001-06-21 13:41:34 -03:00
parent fccadba4b5
commit 777061e441
3 changed files with 34 additions and 22 deletions

5
lgc.h
View File

@@ -1,5 +1,5 @@
/*
** $Id: lgc.h,v 1.10 2001/06/05 19:27:32 roberto Exp roberto $
** $Id: lgc.h,v 1.11 2001/06/12 18:43:13 roberto Exp roberto $
** Garbage Collector
** See Copyright Notice in lua.h
*/
@@ -15,8 +15,7 @@
luaC_collectgarbage(L)
void luaC_collectudata (lua_State *L);
void luaC_callgcTMudata (lua_State *L);
void luaC_callallgcTM (lua_State *L);
void luaC_collect (lua_State *L, int all);
void luaC_collectgarbage (lua_State *L);