From 383e8b9e778d2bed9dc4347f441803e2c4f99d09 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 23 Apr 2002 12:04:39 -0300 Subject: use of a common `dummynode' for all empty tables --- lstate.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index 6c2cfee9..84971213 100644 --- a/lstate.h +++ b/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 1.82 2002/04/10 12:11:07 roberto Exp roberto $ +** $Id: lstate.h,v 1.83 2002/04/16 17:08:28 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -113,6 +113,7 @@ typedef struct global_State { lu_mem GCthreshold; lu_mem nblocks; /* number of `bytes' currently allocated */ lua_CFunction panic; /* to be called in unprotected errors */ + Node dummynode[1]; /* common node array for all empty tables */ TString *tmname[TM_N]; /* array with tag-method names */ } global_State; -- cgit v1.2.3-55-g6feb