Searched refs:allowhook (Results 1 – 4 of 4) 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()