diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-12-11 14:52:57 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-12-11 14:52:57 -0200 |
commit | ed9be5e1f0d4b68aa848f85744ad959d7a57c9f4 (patch) | |
tree | 595b3182d3974a1b5d72821e52c69d97e6ad5f7f /lstate.h | |
parent | 9d801f43d47967a533b399352fab63c4a62ffae7 (diff) | |
download | lua-ed9be5e1f0d4b68aa848f85744ad959d7a57c9f4.tar.gz lua-ed9be5e1f0d4b68aa848f85744ad959d7a57c9f4.tar.bz2 lua-ed9be5e1f0d4b68aa848f85744ad959d7a57c9f4.zip |
reentrant implementation of garbage collection
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 | ||