MCPcopy Create free account
hub / github.com/AshenvaleZX/ZXEngine / lua_sethook

Function lua_sethook

CPPScripts/External/Lua/ldebug.c:131–142  ·  view source on GitHub ↗

** This function can be called during a signal, under "reasonable" ** assumptions. ** Fields 'basehookcount' and 'hookcount' (set by 'resethookcount') ** are for debug only, and it is no problem if they get arbitrary ** values (causes at most one wrong hook call). 'hookmask' is an atomic ** value. We assume that pointers are atomic too (e.g., gcc ensures that ** for all platforms where it runs). M

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

lstopFunction · 0.85
lactionFunction · 0.85
db_sethookFunction · 0.85

Calls 1

settrapsFunction · 0.85

Tested by

no test coverage detected