From 742b7377d38e43224ee5dda4bb83a42763c20af8 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 26 Aug 2013 09:41:10 -0300 Subject: Lua closures go to local, too --- lstate.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index 9c0434b9..02180df7 100644 --- a/lstate.h +++ b/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 2.88 2013/08/22 15:21:48 roberto Exp roberto $ +** $Id: lstate.h,v 2.89 2013/08/23 13:34:54 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -128,6 +128,7 @@ 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 *localupv; /* list of local upvalues */ GCObject *finobj; /* list of collectable objects with finalizers */ GCObject **sweepgc; /* current position of sweep in list 'allgc' */ GCObject **sweepfin; /* current position of sweep in list 'finobj' */ -- cgit v1.2.3-55-g6feb