diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-10-04 09:16:08 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-10-04 09:16:08 -0300 |
commit | cd2ddaded97f7f2b2af02cecfd165cf70e6f83f4 (patch) | |
tree | b3b2ca6acbafed7c5dd34d81ad58e26af588a894 /ldo.h | |
parent | d68209e822c21d3678cc53f1e02ba1c9dd26e23e (diff) | |
download | lua-cd2ddaded97f7f2b2af02cecfd165cf70e6f83f4.tar.gz lua-cd2ddaded97f7f2b2af02cecfd165cf70e6f83f4.tar.bz2 lua-cd2ddaded97f7f2b2af02cecfd165cf70e6f83f4.zip |
call hooks can only be called when `pc' is active (that is, inside
`execute'...)
Diffstat (limited to 'ldo.h')
-rw-r--r-- | ldo.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.h,v 1.24 2000/08/29 14:48:16 roberto Exp roberto $ | 2 | ** $Id: ldo.h,v 1.25 2000/09/25 16:22:42 roberto Exp roberto $ |
3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -22,6 +22,8 @@ | |||
22 | void luaD_init (lua_State *L, int stacksize); | 22 | void luaD_init (lua_State *L, int stacksize); |
23 | void luaD_adjusttop (lua_State *L, StkId base, int extra); | 23 | void luaD_adjusttop (lua_State *L, StkId base, int extra); |
24 | void luaD_lineHook (lua_State *L, StkId func, int line, lua_Hook linehook); | 24 | void luaD_lineHook (lua_State *L, StkId func, int line, lua_Hook linehook); |
25 | void luaD_callHook (lua_State *L, StkId func, lua_Hook callhook, | ||
26 | const char *event); | ||
25 | void luaD_call (lua_State *L, StkId func, int nResults); | 27 | void luaD_call (lua_State *L, StkId func, int nResults); |
26 | void luaD_callTM (lua_State *L, const TObject *f, int nParams, int nResults); | 28 | void luaD_callTM (lua_State *L, const TObject *f, int nParams, int nResults); |
27 | void luaD_checkstack (lua_State *L, int n); | 29 | void luaD_checkstack (lua_State *L, int n); |