Searched refs:allowhook (Results 1 – 10 of 10) sorted by relevance
331 if (hook && L->allowhook) { /* make sure there is a hook */ in luaD_hook()350 L->allowhook = 0; /* cannot call hooks inside a hook */ in luaD_hook()355 lua_assert(!L->allowhook); in luaD_hook()356 L->allowhook = 1; in luaD_hook()681 L->allowhook = getoah(ci->callstatus); /* restore 'allowhook' */ in finishpcallk()926 lu_byte old_allowhooks = L->allowhook; in luaD_closeprotected()935 L->allowhook = old_allowhooks; in luaD_closeprotected()950 lu_byte old_allowhooks = L->allowhook; in luaD_pcall()956 L->allowhook = old_allowhooks; in luaD_pcall()
312 lu_byte allowhook; member
914 lu_byte oldah = L->allowhook; in GCTM()917 L->allowhook = 0; /* stop debug hooks during GC metamethod */ in GCTM()923 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()
302 if (hook && L->allowhook) { in luaD_hook()313 L->allowhook = 0; /* cannot call hooks inside a hook */ in luaD_hook()318 lua_assert(!L->allowhook); in luaD_hook()319 L->allowhook = 1; in luaD_hook()558 L->allowhook = ci->u.c.old_allowhook; in recover()687 lu_byte old_allowhooks = L->allowhook; in luaD_pcall()697 L->allowhook = old_allowhooks; in luaD_pcall()
167 lu_byte allowhook; member
815 lu_byte oldah = L->allowhook; in GCTM()817 L->allowhook = 0; /* stop debug hooks during GC metamethod */ in GCTM()823 L->allowhook = oldah; /* restore hooks */ in GCTM()
210 L->allowhook = 1; in preinit_state()
955 ci->u.c.old_allowhook = L->allowhook; in lua_pcallk()