Searched refs:allowhook (Results 1 – 9 of 9) sorted by relevance
87 L->allowhook = 1; in resetstack()183 if (hook && L->allowhook) { in luaD_callhook()196 L->allowhook = 0; /* cannot call hooks inside a hook */ in luaD_callhook()200 lua_assert(!L->allowhook); in luaD_callhook()201 L->allowhook = 1; in luaD_callhook()461 lu_byte old_allowhooks = L->allowhook; in luaD_pcall()473 L->allowhook = old_allowhooks; in luaD_pcall()
117 lu_byte allowhook; member
460 lu_byte oldah = L->allowhook; in GCTM()462 L->allowhook = 0; /* stop debug hooks during GC tag method */ in GCTM()468 L->allowhook = oldah; /* restore hooks */ in GCTM()
92 L->allowhook = 1; in preinit_state()
289 if (hook && L->allowhook) { in luaD_hook()300 L->allowhook = 0; /* cannot call hooks inside a hook */ in luaD_hook()305 lua_assert(!L->allowhook); in luaD_hook()306 L->allowhook = 1; in luaD_hook()545 L->allowhook = ci->u.c.old_allowhook; in recover()674 lu_byte old_allowhooks = L->allowhook; in luaD_pcall()684 L->allowhook = old_allowhooks; in luaD_pcall()
168 lu_byte allowhook; member
816 lu_byte oldah = L->allowhook; in GCTM()818 L->allowhook = 0; /* stop debug hooks during GC metamethod */ in GCTM()824 L->allowhook = oldah; /* restore hooks */ in GCTM()
211 L->allowhook = 1; in preinit_state()
954 ci->u.c.old_allowhook = L->allowhook; in lua_pcallk()