diff options
Diffstat (limited to 'lstate.h')
| -rw-r--r-- | lstate.h | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lstate.h,v 1.85 2002/05/08 17:34:23 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 1.86 2002/07/02 16:43: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 | */ |
| @@ -130,8 +130,9 @@ struct lua_State { | |||
| 130 | CallInfo *end_ci; /* points after end of ci array*/ | 130 | CallInfo *end_ci; /* points after end of ci array*/ |
| 131 | CallInfo *base_ci; /* array of CallInfo's */ | 131 | CallInfo *base_ci; /* array of CallInfo's */ |
| 132 | global_State *l_G; | 132 | global_State *l_G; |
| 133 | lua_Hook linehook; | 133 | int hookmask; |
| 134 | lua_Hook callhook; | 134 | int hookcount; |
| 135 | lua_Hook hook; | ||
| 135 | TObject globs[NUMGLOBS]; /* registry, table of globals, etc. */ | 136 | TObject globs[NUMGLOBS]; /* registry, table of globals, etc. */ |
| 136 | struct lua_longjmp *errorJmp; /* current error recover point */ | 137 | struct lua_longjmp *errorJmp; /* current error recover point */ |
| 137 | UpVal *openupval; /* list of open upvalues in this stack */ | 138 | UpVal *openupval; /* list of open upvalues in this stack */ |
| @@ -139,7 +140,6 @@ struct lua_State { | |||
| 139 | lua_State *previous; | 140 | lua_State *previous; |
| 140 | int stacksize; | 141 | int stacksize; |
| 141 | int size_ci; /* size of array `base_ci' */ | 142 | int size_ci; /* size of array `base_ci' */ |
| 142 | int allowhooks; | ||
| 143 | }; | 143 | }; |
| 144 | 144 | ||
| 145 | 145 | ||
