diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-02-06 17:16:56 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-02-06 17:16:56 -0200 |
commit | 51280ef2ad87f3fcc657fdc0f52799432d2bc340 (patch) | |
tree | 698301a27b7d49460bf0f2daa860b0652553acaa /ldo.h | |
parent | fc3eaa2559f2b9b929892c4a798809f3aa93effe (diff) | |
download | lua-51280ef2ad87f3fcc657fdc0f52799432d2bc340.tar.gz lua-51280ef2ad87f3fcc657fdc0f52799432d2bc340.tar.bz2 lua-51280ef2ad87f3fcc657fdc0f52799432d2bc340.zip |
call hooks for Lua functions called by 'luaV_execute'
Diffstat (limited to 'ldo.h')
-rw-r--r-- | ldo.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.h,v 2.38 2017/12/11 12:43:40 roberto Exp roberto $ | 2 | ** $Id: ldo.h,v 2.39 2018/01/10 19:19:27 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 | */ |
@@ -48,6 +48,7 @@ typedef void (*Pfunc) (lua_State *L, void *ud); | |||
48 | LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name, | 48 | LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name, |
49 | const char *mode); | 49 | const char *mode); |
50 | LUAI_FUNC void luaD_hook (lua_State *L, int event, int line); | 50 | LUAI_FUNC void luaD_hook (lua_State *L, int event, int line); |
51 | LUAI_FUNC void luaD_hookcall (lua_State *L, CallInfo *ci); | ||
51 | LUAI_FUNC void luaD_pretailcall (lua_State *L, CallInfo *ci, StkId func, int n); | 52 | LUAI_FUNC void luaD_pretailcall (lua_State *L, CallInfo *ci, StkId func, int n); |
52 | LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults); | 53 | LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults); |
53 | LUAI_FUNC void luaD_callnoyield (lua_State *L, StkId func, int nResults); | 54 | LUAI_FUNC void luaD_callnoyield (lua_State *L, StkId func, int nResults); |