summaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/lstate.h b/lstate.h
index cd4020be..8364dc45 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 1.24 1999/12/01 19:50:08 roberto Exp roberto $ 2** $Id: lstate.h,v 1.25 1999/12/06 11:41:28 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*/
@@ -62,9 +62,6 @@ struct lua_State {
62 int Mbuffnext; /* next position to fill in Mbuffer */ 62 int Mbuffnext; /* next position to fill in Mbuffer */
63 struct C_Lua_Stack *Cblocks; 63 struct C_Lua_Stack *Cblocks;
64 int numCblocks; /* number of nested Cblocks */ 64 int numCblocks; /* number of nested Cblocks */
65 int debug;
66 lua_CHFunction callhook;
67 lua_LHFunction linehook;
68 /* global state */ 65 /* global state */
69 TProtoFunc *rootproto; /* list of all prototypes */ 66 TProtoFunc *rootproto; /* list of all prototypes */
70 Closure *rootcl; /* list of all closures */ 67 Closure *rootcl; /* list of all closures */
@@ -78,6 +75,10 @@ struct lua_State {
78 int refFree; /* list of free positions in refArray */ 75 int refFree; /* list of free positions in refArray */
79 unsigned long GCthreshold; 76 unsigned long GCthreshold;
80 unsigned long nblocks; /* number of 'blocks' currently allocated */ 77 unsigned long nblocks; /* number of 'blocks' currently allocated */
78 int debug;
79 lua_CHFunction callhook;
80 lua_LHFunction linehook;
81 int allowhooks;
81}; 82};
82 83
83 84