From 968ad49da6522c1cf413bd86323a613176d12c07 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 6 Dec 1999 09:41:28 -0200 Subject: `lua_newstate' gets the inital stack size and other arguments --- lstate.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index 1b946312..cd4020be 100644 --- a/lstate.h +++ b/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 1.23 1999/11/22 13:12:07 roberto Exp roberto $ +** $Id: lstate.h,v 1.24 1999/12/01 19:50:08 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -53,6 +53,7 @@ struct lua_State { StkId top; /* first free slot in the stack */ StkId stack; /* stack base */ StkId stack_last; /* last free slot in the stack */ + int stacksize; struct C_Lua_Stack Cstack; /* C2lua struct */ struct lua_longjmp *errorJmp; /* current error recover point */ char *Mbuffer; /* global buffer */ -- cgit v1.2.3-55-g6feb