diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-11-18 09:01:55 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-11-18 09:01:55 -0200 |
commit | 43013b39cc28e873e18207e8e7259b6b90fed06b (patch) | |
tree | 3c2a9c520a01086df28c8f0d1ef6d9b5069fa451 /lstate.h | |
parent | 94912d99fcdf61c1fc6dc8897c9d2b0e042e0d63 (diff) | |
download | lua-43013b39cc28e873e18207e8e7259b6b90fed06b.tar.gz lua-43013b39cc28e873e18207e8e7259b6b90fed06b.tar.bz2 lua-43013b39cc28e873e18207e8e7259b6b90fed06b.zip |
new representation for hooks (to allow asynchronous calls to sethook)
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.h,v 1.100 2002/11/06 19:08:00 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 1.101 2002/11/13 11:31:39 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 | */ |
@@ -139,7 +139,10 @@ struct lua_State { | |||
139 | CallInfo *end_ci; /* points after end of ci array*/ | 139 | CallInfo *end_ci; /* points after end of ci array*/ |
140 | CallInfo *base_ci; /* array of CallInfo's */ | 140 | CallInfo *base_ci; /* array of CallInfo's */ |
141 | int size_ci; /* size of array `base_ci' */ | 141 | int size_ci; /* size of array `base_ci' */ |
142 | unsigned long hookmask; | 142 | lu_byte hookmask; |
143 | lu_byte allowhook; | ||
144 | lu_byte hookinit; | ||
145 | ls_count basehookcount; | ||
143 | ls_count hookcount; | 146 | ls_count hookcount; |
144 | lua_Hook hook; | 147 | lua_Hook hook; |
145 | TObject _gt; /* table of globals */ | 148 | TObject _gt; /* table of globals */ |