From b3d0682fb94f56a438dbb4fdb2b3440ccc10cfb4 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 8 Oct 2002 15:46:08 -0300 Subject: use of different buffers for scanner and concatenation --- lstate.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index 618685c1..94af29ad 100644 --- a/lstate.h +++ b/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 1.95 2002/08/30 19:09:21 roberto Exp roberto $ +** $Id: lstate.h,v 1.96 2002/09/19 13:03:53 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -11,6 +11,7 @@ #include "lobject.h" #include "ltm.h" +#include "lzio.h" /* @@ -124,8 +125,7 @@ typedef struct global_State { GCObject *rootgc; /* list of (almost) all collectable objects */ GCObject *rootudata; /* (separated) list of all userdata */ GCObject *tmudata; /* list of userdata to be GC */ - char *Mbuffer; /* global buffer */ - size_t Mbuffsize; /* size of Mbuffer */ + Mbuffer buff; /* temporary buffer for string concatentation */ lu_mem GCthreshold; lu_mem nblocks; /* number of `bytes' currently allocated */ lua_CFunction panic; /* to be called in unprotected errors */ -- cgit v1.2.3-55-g6feb