Searched refs:allowhook (Results 1 – 5 of 5) sorted by relevance
223 if (hook && L->allowhook) { in luaD_hook()234 L->allowhook = 0; /* cannot call hooks inside a hook */ in luaD_hook()239 lua_assert(!L->allowhook); in luaD_hook()240 L->allowhook = 1; in luaD_hook()474 L->allowhook = ci->u.c.old_allowhook; in recover()603 lu_byte old_allowhooks = L->allowhook; in luaD_pcall()613 L->allowhook = old_allowhooks; in luaD_pcall()
167 lu_byte allowhook; member
817 lu_byte oldah = L->allowhook; in GCTM()819 L->allowhook = 0; /* stop debug hooks during GC metamethod */ in GCTM()825 L->allowhook = oldah; /* restore hooks */ in GCTM()
212 L->allowhook = 1; in preinit_state()
956 ci->u.c.old_allowhook = L->allowhook; in lua_pcallk()