From 4343420d4d559a7d4cdacdbc1fd61552dcf59f04 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 4 Oct 1999 15:51:04 -0200 Subject: simplified version of `gc' tag method (only for userdata now). --- lstate.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index 2690a1f9..0af3cc31 100644 --- a/lstate.h +++ b/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 1.18 1999/05/11 14:19:32 roberto Exp roberto $ +** $Id: lstate.h,v 1.19 1999/05/11 20:08:20 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -73,10 +73,10 @@ struct lua_State { lua_CHFunction callhook; lua_LHFunction linehook; /* global state */ - GCnode rootproto; /* list of all prototypes */ - GCnode rootcl; /* list of all closures */ - GCnode roottable; /* list of all tables */ - GCnode rootglobal; /* list of strings with global values */ + TProtoFunc *rootproto; /* list of all prototypes */ + Closure *rootcl; /* list of all closures */ + Hash *roottable; /* list of all tables */ + TaggedString *rootglobal; /* list of strings with global values */ stringtable *string_root; /* array of hash tables for strings and udata */ struct IM *IMtable; /* table for tag methods */ int last_tag; /* last used tag in IMtable */ -- cgit v1.2.3-55-g6feb