Home
last modified time | relevance | path

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

/netbsd/src/external/mit/lua/dist/src/
Dldo.c335 if (hook && L->allowhook) { /* make sure there is a hook */ in luaD_hook()
354 L->allowhook = 0; /* cannot call hooks inside a hook */ in luaD_hook()
359 lua_assert(!L->allowhook); in luaD_hook()
360 L->allowhook = 1; in luaD_hook()
685 L->allowhook = getoah(ci->callstatus); /* restore 'allowhook' */ in finishpcallk()
930 lu_byte old_allowhooks = L->allowhook; in luaD_closeprotected()
939 L->allowhook = old_allowhooks; in luaD_closeprotected()
954 lu_byte old_allowhooks = L->allowhook; in luaD_pcall()
960 L->allowhook = old_allowhooks; in luaD_pcall()
Dlstate.h314 lu_byte allowhook; member
Dlgc.c917 lu_byte oldah = L->allowhook; in GCTM()
920 L->allowhook = 0; /* stop debug hooks during GC metamethod */ in GCTM()
926 L->allowhook = oldah; /* restore hooks */ in GCTM()
Dlstate.c264 L->allowhook = 1; in preinit_thread()
Dlapi.c1084 setoah(ci->callstatus, L->allowhook); /* save value of 'allowhook' */ in lua_pcallk()