summaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-12-06 09:41:28 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-12-06 09:41:28 -0200
commit968ad49da6522c1cf413bd86323a613176d12c07 (patch)
tree6961b75297c9533963f3b2d7db4f06900ed4f9f7 /lstate.h
parent1fdb445e7dae6d08b67e46e1979f285b38bbc18d (diff)
downloadlua-968ad49da6522c1cf413bd86323a613176d12c07.tar.gz
lua-968ad49da6522c1cf413bd86323a613176d12c07.tar.bz2
lua-968ad49da6522c1cf413bd86323a613176d12c07.zip
`lua_newstate' gets the inital stack size and other arguments
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lstate.h b/lstate.h
index 1b946312..cd4020be 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 1.23 1999/11/22 13:12:07 roberto Exp roberto $ 2** $Id: lstate.h,v 1.24 1999/12/01 19:50:08 roberto Exp roberto $
3** Global State 3** Global State
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -53,6 +53,7 @@ struct lua_State {
53 StkId top; /* first free slot in the stack */ 53 StkId top; /* first free slot in the stack */
54 StkId stack; /* stack base */ 54 StkId stack; /* stack base */
55 StkId stack_last; /* last free slot in the stack */ 55 StkId stack_last; /* last free slot in the stack */
56 int stacksize;
56 struct C_Lua_Stack Cstack; /* C2lua struct */ 57 struct C_Lua_Stack Cstack; /* C2lua struct */
57 struct lua_longjmp *errorJmp; /* current error recover point */ 58 struct lua_longjmp *errorJmp; /* current error recover point */
58 char *Mbuffer; /* global buffer */ 59 char *Mbuffer; /* global buffer */