aboutsummaryrefslogtreecommitdiff
path: root/lgc.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-02-10 15:32:50 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-02-10 15:32:50 -0200
commit6f207b15fb20f1c7d06224354cfdf5e32fdbba68 (patch)
treec81ec4d1d2efe14db873dbb1a589c54d4be21ae2 /lgc.h
parent3184314bf32ce146fad2e4adc302c840497d5cde (diff)
downloadlua-6f207b15fb20f1c7d06224354cfdf5e32fdbba68.tar.gz
lua-6f207b15fb20f1c7d06224354cfdf5e32fdbba68.tar.bz2
lua-6f207b15fb20f1c7d06224354cfdf5e32fdbba68.zip
resist errors in finalizers during lua_close
Diffstat (limited to 'lgc.h')
-rw-r--r--lgc.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lgc.h b/lgc.h
index c4a153e2..78adf69a 100644
--- a/lgc.h
+++ b/lgc.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lgc.h,v 1.16 2002/08/30 19:09:21 roberto Exp roberto $ 2** $Id: lgc.h,v 1.17 2002/11/25 12:38:47 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,8 @@
15 luaC_collectgarbage(L) 15 luaC_collectgarbage(L)
16 16
17 17
18void luaC_callallgcTM (lua_State *L); 18void luaC_separateudata (lua_State *L);
19void luaC_callGCTM (lua_State *L);
19void luaC_sweep (lua_State *L, int all); 20void luaC_sweep (lua_State *L, int all);
20void luaC_collectgarbage (lua_State *L); 21void luaC_collectgarbage (lua_State *L);
21void luaC_link (lua_State *L, GCObject *o, lu_byte tt); 22void luaC_link (lua_State *L, GCObject *o, lu_byte tt);