diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-08-26 09:41:10 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-08-26 09:41:10 -0300 |
| commit | 742b7377d38e43224ee5dda4bb83a42763c20af8 (patch) | |
| tree | 7caeaa7077ff6414f20646b7cef5308ad5bc2199 /lstate.h | |
| parent | 50955e27f592441a223c6267956e470f98eeb3c0 (diff) | |
| download | lua-742b7377d38e43224ee5dda4bb83a42763c20af8.tar.gz lua-742b7377d38e43224ee5dda4bb83a42763c20af8.tar.bz2 lua-742b7377d38e43224ee5dda4bb83a42763c20af8.zip | |
Lua closures go to local, too
Diffstat (limited to '')
| -rw-r--r-- | lstate.h | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lstate.h,v 2.88 2013/08/22 15:21:48 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 2.89 2013/08/23 13:34:54 roberto Exp roberto $ |
| 3 | ** Global State | 3 | ** Global State |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -128,6 +128,7 @@ typedef struct global_State { | |||
| 128 | lu_byte gcrunning; /* true if GC is running */ | 128 | lu_byte gcrunning; /* true if GC is running */ |
| 129 | GCObject *allgc; /* list of all collectable objects */ | 129 | GCObject *allgc; /* list of all collectable objects */ |
| 130 | GCObject *localgc; /* list of local objects */ | 130 | GCObject *localgc; /* list of local objects */ |
| 131 | GCObject *localupv; /* list of local upvalues */ | ||
| 131 | GCObject *finobj; /* list of collectable objects with finalizers */ | 132 | GCObject *finobj; /* list of collectable objects with finalizers */ |
| 132 | GCObject **sweepgc; /* current position of sweep in list 'allgc' */ | 133 | GCObject **sweepgc; /* current position of sweep in list 'allgc' */ |
| 133 | GCObject **sweepfin; /* current position of sweep in list 'finobj' */ | 134 | GCObject **sweepfin; /* current position of sweep in list 'finobj' */ |
