Home
last modified time | relevance | path

Searched refs:allowhook (Results 1 – 5 of 5) sorted by relevance

/l4re-core-master/lua/lib/contrib/src/
A Dldo.c309 if (hook && L->allowhook) { /* make sure there is a hook */ in luaD_hook()
328 L->allowhook = 0; /* cannot call hooks inside a hook */ in luaD_hook()
333 lua_assert(!L->allowhook); in luaD_hook()
334 L->allowhook = 1; in luaD_hook()
621 L->allowhook = getoah(ci->callstatus); /* restore 'allowhook' */ in finishpcallk()
865 lu_byte old_allowhooks = L->allowhook; in luaD_closeprotected()
874 L->allowhook = old_allowhooks; in luaD_closeprotected()
889 lu_byte old_allowhooks = L->allowhook; in luaD_pcall()
895 L->allowhook = old_allowhooks; in luaD_pcall()
A Dlstate.h307 lu_byte allowhook; member
A Dlgc.c908 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()
A Dlstate.c260 L->allowhook = 1; in preinit_thread()
A Dlapi.c1067 setoah(ci->callstatus, L->allowhook); /* save value of 'allowhook' */ in lua_pcallk()

Completed in 14 milliseconds