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

/netbsd-current/external/mit/lua/dist/src/
H A Dldo.c335 if (hook && L->allowhook) { /* make sure there is a hook */
354 L->allowhook = 0; /* cannot call hooks inside a hook */
359 lua_assert(!L->allowhook);
360 L->allowhook = 1;
685 L->allowhook = getoah(ci->callstatus); /* restore 'allowhook' */
930 lu_byte old_allowhooks = L->allowhook;
939 L->allowhook = old_allowhooks;
947 ** thread information ('allowhook', etc.) and in particular
954 lu_byte old_allowhooks = L->allowhook;
[all...]
H A Dlstate.h212 #define CIST_OAH (1<<0) /* original value of 'allowhook' */
314 lu_byte allowhook; member in struct:lua_State
H A Dlgc.c917 lu_byte oldah = L->allowhook;
920 L->allowhook = 0; /* stop debug hooks during GC metamethod */
926 L->allowhook = oldah; /* restore hooks */
H A Dlstate.c264 L->allowhook = 1;
H A Dlapi.c1084 setoah(ci->callstatus, L->allowhook); /* save value of 'allowhook' */

Completed in 274 milliseconds