From ed9be5e1f0d4b68aa848f85744ad959d7a57c9f4 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 11 Dec 2001 14:52:57 -0200 Subject: reentrant implementation of garbage collection --- lstate.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lstate.h') 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 { Proto *rootproto; /* list of all prototypes */ Closure *rootcl; /* list of all closures */ Table *roottable; /* list of all tables */ - Udata *rootudata; /* list of all userdata */ UpVal *rootupval; /* list of closed up values */ + Udata *rootudata; /* list of all userdata */ + Udata *tmudata; /* list of userdata to be GC */ TString *tmname[TM_N]; /* array with tag-method names */ } global_State; -- cgit v1.2.3-55-g6feb