From aeff4f79fa10caef29617652aa49b77055f4045e Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 3 Sep 2013 12:37:10 -0300 Subject: local collection now calls finalizers --- lstate.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index e03b75f2..38bbb982 100644 --- a/lstate.h +++ b/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 2.91 2013/08/27 18:53:35 roberto Exp roberto $ +** $Id: lstate.h,v 2.92 2013/08/30 19:14:26 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -121,8 +121,9 @@ typedef struct global_State { lu_byte gcrunning; /* true if GC is running */ GCObject *allgc; /* list of all collectable objects */ GCObject *localgc; /* list of local objects */ - GCObject *finobj; /* list of collectable objects with finalizers */ + GCObject *localfin; /* list of local objects with finalizers */ GCObject **sweepgc; /* current position of sweep in list */ + GCObject *finobj; /* list of collectable objects with finalizers */ GCObject *gray; /* list of gray objects */ GCObject *grayagain; /* list of objects to be traversed atomically */ GCObject *weak; /* list of tables with weak values */ -- cgit v1.2.3-55-g6feb