aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-12-11 14:52:57 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-12-11 14:52:57 -0200
commited9be5e1f0d4b68aa848f85744ad959d7a57c9f4 (patch)
tree595b3182d3974a1b5d72821e52c69d97e6ad5f7f /lstate.h
parent9d801f43d47967a533b399352fab63c4a62ffae7 (diff)
downloadlua-ed9be5e1f0d4b68aa848f85744ad959d7a57c9f4.tar.gz
lua-ed9be5e1f0d4b68aa848f85744ad959d7a57c9f4.tar.bz2
lua-ed9be5e1f0d4b68aa848f85744ad959d7a57c9f4.zip
reentrant implementation of garbage collection
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lstate.h b/lstate.h
index 84d3358e..158f7f8a 100644
--- a/lstate.h
+++ b/lstate.h
@@ -81,8 +81,9 @@ typedef struct global_State {
81 Proto *rootproto; /* list of all prototypes */ 81 Proto *rootproto; /* list of all prototypes */
82 Closure *rootcl; /* list of all closures */ 82 Closure *rootcl; /* list of all closures */
83 Table *roottable; /* list of all tables */ 83 Table *roottable; /* list of all tables */
84 Udata *rootudata; /* list of all userdata */
85 UpVal *rootupval; /* list of closed up values */ 84 UpVal *rootupval; /* list of closed up values */
85 Udata *rootudata; /* list of all userdata */
86 Udata *tmudata; /* list of userdata to be GC */
86 TString *tmname[TM_N]; /* array with tag-method names */ 87 TString *tmname[TM_N]; /* array with tag-method names */
87} global_State; 88} global_State;
88 89