new implementation for global variable values (separated from strings)

This commit is contained in:
Roberto Ierusalimschy
1999-11-04 15:23:12 -02:00
parent 80b39d83c3
commit cde179b369
12 changed files with 166 additions and 145 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lstate.h,v 1.19 1999/05/11 20:08:20 roberto Exp roberto $
** $Id: lstate.h,v 1.20 1999/10/04 17:51:04 roberto Exp roberto $
** Global State
** See Copyright Notice in lua.h
*/
@@ -76,7 +76,7 @@ struct lua_State {
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 */
GlobalVar *rootglobal; /* list of global variables */
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 */