aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lstate.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/lstate.h b/lstate.h
index 795a6008..541c473d 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 1.16 1999/04/13 19:30:51 roberto Exp roberto $ 2** $Id: lstate.h,v 1.17 1999/05/10 13:54:01 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*/
@@ -14,8 +14,6 @@
14#include "luadebug.h" 14#include "luadebug.h"
15 15
16 16
17#define MAX_C_BLOCKS 10
18
19#define GARBAGE_BLOCK 150 17#define GARBAGE_BLOCK 150
20 18
21 19
@@ -69,7 +67,8 @@ struct lua_State {
69 int Mbuffbase; /* current first position of Mbuffer */ 67 int Mbuffbase; /* current first position of Mbuffer */
70 int Mbuffsize; /* size of Mbuffer */ 68 int Mbuffsize; /* size of Mbuffer */
71 int Mbuffnext; /* next position to fill in Mbuffer */ 69 int Mbuffnext; /* next position to fill in Mbuffer */
72 struct C_Lua_Stack Cblocks[MAX_C_BLOCKS]; 70 struct C_Lua_Stack *Cblocks;
71 int sizeCblocks; /* size of Cblocks */
73 int numCblocks; /* number of nested Cblocks */ 72 int numCblocks; /* number of nested Cblocks */
74 int debug; 73 int debug;
75 lua_CHFunction callhook; 74 lua_CHFunction callhook;