From 055823c04d09f6da0df1d7b5761609f749042907 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 25 Feb 1999 12:17:01 -0300 Subject: "L->Mbuffbase" is better kept as offset instead of pointer --- lstate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index b8d15a6c..43598917 100644 --- a/lstate.h +++ b/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 1.13 1998/08/30 18:28:58 roberto Exp roberto $ +** $Id: lstate.h,v 1.14 1999/02/04 17:47:59 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -56,7 +56,7 @@ struct lua_State { struct C_Lua_Stack Cstack; /* C2lua struct */ jmp_buf *errorJmp; /* current error recover point */ char *Mbuffer; /* global buffer */ - char *Mbuffbase; /* current first position of Mbuffer */ + int Mbuffbase; /* current first position of Mbuffer */ int Mbuffsize; /* size of Mbuffer */ int Mbuffnext; /* next position to fill in Mbuffer */ struct C_Lua_Stack Cblocks[MAX_C_BLOCKS]; -- cgit v1.2.3-55-g6feb