Home
last modified time | relevance | path

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

/redis-3.2.3/deps/lua/src/
H A Dldo.c87 L->allowhook = 1; in resetstack()
183 if (hook && L->allowhook) { in luaD_callhook()
196 L->allowhook = 0; /* cannot call hooks inside a hook */ in luaD_callhook()
200 lua_assert(!L->allowhook); in luaD_callhook()
201 L->allowhook = 1; in luaD_callhook()
461 lu_byte old_allowhooks = L->allowhook; in luaD_pcall()
473 L->allowhook = old_allowhooks; in luaD_pcall()
H A Dlstate.h117 lu_byte allowhook; member
H A Dlgc.c460 lu_byte oldah = L->allowhook; in GCTM()
462 L->allowhook = 0; /* stop debug hooks during GC tag method */ in GCTM()
468 L->allowhook = oldah; /* restore hooks */ in GCTM()
H A Dlstate.c92 L->allowhook = 1; in preinit_state()