aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lstate.h b/lstate.h
index 16693604..b8d15a6c 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 1.12 1998/08/21 17:43:44 roberto Exp roberto $ 2** $Id: lstate.h,v 1.13 1998/08/30 18:28:58 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*/
@@ -11,6 +11,7 @@
11 11
12#include "lobject.h" 12#include "lobject.h"
13#include "lua.h" 13#include "lua.h"
14#include "luadebug.h"
14 15
15 16
16#define MAX_C_BLOCKS 10 17#define MAX_C_BLOCKS 10
@@ -60,6 +61,9 @@ struct lua_State {
60 int Mbuffnext; /* next position to fill in Mbuffer */ 61 int Mbuffnext; /* next position to fill in Mbuffer */
61 struct C_Lua_Stack Cblocks[MAX_C_BLOCKS]; 62 struct C_Lua_Stack Cblocks[MAX_C_BLOCKS];
62 int numCblocks; /* number of nested Cblocks */ 63 int numCblocks; /* number of nested Cblocks */
64 int debug;
65 lua_CHFunction callhook;
66 lua_LHFunction linehook;
63 /* global state */ 67 /* global state */
64 GCnode rootproto; /* list of all prototypes */ 68 GCnode rootproto; /* list of all prototypes */
65 GCnode rootcl; /* list of all closures */ 69 GCnode rootcl; /* list of all closures */
@@ -80,3 +84,4 @@ struct lua_State {
80 84
81 85
82#endif 86#endif
87