From d5b83ead90fba27faa344c72406d85987d2460a4 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 6 Jun 2001 15:00:19 -0300 Subject: new implementation for userdatas, without `keys' --- lstate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index 7c0e808d..a1965fb8 100644 --- a/lstate.h +++ b/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 1.55 2001/03/07 18:09:25 roberto Exp roberto $ +** $Id: lstate.h,v 1.56 2001/04/17 17:35:54 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -53,8 +53,8 @@ typedef struct global_State { Proto *rootproto; /* list of all prototypes */ Closure *rootcl; /* list of all closures */ Hash *roottable; /* list of all tables */ + Udata *rootudata; /* list of all userdata */ stringtable strt; /* hash table for strings */ - stringtable udt; /* hash table for udata */ Hash *type2tag; /* hash table from type names to tags */ Hash *registry; /* (strong) registry table */ Hash *weakregistry; /* weakregistry table */ -- cgit v1.2.3-55-g6feb