Searched refs:allowhook (Results 1 – 10 of 10) sorted by relevance
288 if (hook && L->allowhook) { in luaD_hook()299 L->allowhook = 0; /* cannot call hooks inside a hook */ in luaD_hook()304 lua_assert(!L->allowhook); in luaD_hook()305 L->allowhook = 1; in luaD_hook()544 L->allowhook = ci->u.c.old_allowhook; in recover()673 lu_byte old_allowhooks = L->allowhook; in luaD_pcall()683 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()
297 if (hook && L->allowhook) { /* make sure there is a hook */ in luaD_hook()314 L->allowhook = 0; /* cannot call hooks inside a hook */ in luaD_hook()319 lua_assert(!L->allowhook); in luaD_hook()320 L->allowhook = 1; in luaD_hook()645 L->allowhook = getoah(ci->callstatus); /* restore original 'allowhook' */ in recover()781 lu_byte old_allowhooks = L->allowhook; in luaD_pcall()788 L->allowhook = old_allowhooks; in luaD_pcall()
276 lu_byte allowhook; member
908 lu_byte oldah = L->allowhook; in GCTM()910 L->allowhook = 0; /* stop debug hooks during GC metamethod */ in GCTM()917 L->allowhook = oldah; /* restore hooks */ in GCTM()
263 L->allowhook = 1; in preinit_thread()
1041 setoah(ci->callstatus, L->allowhook); /* save value of 'allowhook' */ in lua_pcallk()