aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/lstate.h b/lstate.h
index 45897d5b..dc3a456b 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: $ 2** $Id: lstate.h,v 1.1 1997/11/19 17:30:36 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*/
@@ -18,9 +18,9 @@
18typedef int StkId; /* index to stack elements */ 18typedef int StkId; /* index to stack elements */
19 19
20struct Stack { 20struct Stack {
21 TObject *last;
22 TObject *stack;
23 TObject *top; 21 TObject *top;
22 TObject *stack;
23 TObject *last;
24}; 24};
25 25
26struct C_Lua_Stack { 26struct C_Lua_Stack {
@@ -45,14 +45,14 @@ struct ref {
45 45
46 46
47typedef struct LState { 47typedef struct LState {
48 struct C_Lua_Stack Cblocks[MAX_C_BLOCKS];
49 int numCblocks; /* number of nested Cblocks */
50 TObject *functofind; /* auxiliar */
51 struct Stack stack; /* Lua stack */ 48 struct Stack stack; /* Lua stack */
52 struct C_Lua_Stack Cstack; /* C2lua struct */ 49 struct C_Lua_Stack Cstack; /* C2lua struct */
53 int stacklimit; /* limit for stack overflow */ 50 int stacklimit; /* limit for stack overflow */
54 void *errorJmp; /* current error recover point */ 51 void *errorJmp; /* current error recover point */
55 TObject errorim; /* error tag method */ 52 TObject errorim; /* error tag method */
53 struct C_Lua_Stack Cblocks[MAX_C_BLOCKS];
54 int numCblocks; /* number of nested Cblocks */
55 TObject *functofind; /* auxiliar */
56 GCnode rootproto; /* list of all prototypes */ 56 GCnode rootproto; /* list of all prototypes */
57 GCnode rootcl; /* list of all closures */ 57 GCnode rootcl; /* list of all closures */
58 GCnode roottable; /* list of all tables */ 58 GCnode roottable; /* list of all tables */