MCPcopy Create free account
hub / github.com/DFHack/dfhack / interrupt_init

Function interrupt_init

library/LuaTools.cpp:506–509  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

504
505static void interrupt_hook (lua_State *L, lua_Debug *ar);
506static void interrupt_init (lua_State *L)
507{
508 lua_sethook(L, interrupt_hook, LUA_MASKCOUNT, 256);
509}
510
511static void interrupt_hook (lua_State *L, lua_Debug *ar)
512{

Callers 2

interrupt_hookFunction · 0.85
OpenMethod · 0.85

Calls 1

lua_sethookFunction · 0.85

Tested by

no test coverage detected