Searched refs:allowhook (Results 1 – 10 of 10) sorted by relevance
338 if (hook && L->allowhook) { /* make sure there is a hook */ in luaD_hook()357 L->allowhook = 0; /* cannot call hooks inside a hook */ in luaD_hook()362 lua_assert(!L->allowhook); in luaD_hook()363 L->allowhook = 1; in luaD_hook()688 L->allowhook = getoah(ci->callstatus); /* restore 'allowhook' */ in finishpcallk()937 lu_byte old_allowhooks = L->allowhook; in luaD_closeprotected()946 L->allowhook = old_allowhooks; in luaD_closeprotected()961 lu_byte old_allowhooks = L->allowhook; in luaD_pcall()967 L->allowhook = old_allowhooks; in luaD_pcall()
312 lu_byte allowhook; member
916 lu_byte oldah = L->allowhook; in GCTM()919 L->allowhook = 0; /* stop debug hooks during GC metamethod */ in GCTM()925 L->allowhook = oldah; /* restore hooks */ in GCTM()
260 L->allowhook = 1; in preinit_thread()
1074 setoah(ci->callstatus, L->allowhook); /* save value of 'allowhook' */ in lua_pcallk()
303 if (hook && L->allowhook) { 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()559 L->allowhook = ci->u.c.old_allowhook; in recover()688 lu_byte old_allowhooks = L->allowhook; in luaD_pcall()698 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()
956 ci->u.c.old_allowhook = L->allowhook; in lua_pcallk()