new interface for debug hooks
This commit is contained in:
8
lstate.h
8
lstate.h
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: lstate.h,v 1.85 2002/05/08 17:34:23 roberto Exp roberto $
|
||||
** $Id: lstate.h,v 1.86 2002/07/02 16:43:28 roberto Exp roberto $
|
||||
** Global State
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
@@ -130,8 +130,9 @@ struct lua_State {
|
||||
CallInfo *end_ci; /* points after end of ci array*/
|
||||
CallInfo *base_ci; /* array of CallInfo's */
|
||||
global_State *l_G;
|
||||
lua_Hook linehook;
|
||||
lua_Hook callhook;
|
||||
int hookmask;
|
||||
int hookcount;
|
||||
lua_Hook hook;
|
||||
TObject globs[NUMGLOBS]; /* registry, table of globals, etc. */
|
||||
struct lua_longjmp *errorJmp; /* current error recover point */
|
||||
UpVal *openupval; /* list of open upvalues in this stack */
|
||||
@@ -139,7 +140,6 @@ struct lua_State {
|
||||
lua_State *previous;
|
||||
int stacksize;
|
||||
int size_ci; /* size of array `base_ci' */
|
||||
int allowhooks;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user