Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ AssertCoreSuspend
Function
AssertCoreSuspend
library/LuaTools.cpp:80–83 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
78
}
79
80
inline void AssertCoreSuspend(lua_State *state)
81
{
82
assert(!Lua::IsCoreContext(state) || DFHack::Core::getInstance().isSuspended());
83
}
84
85
/*
86
* Lua Push methods
Callers
5
SafeCall
Method · 0.85
SafeResume
Method · 0.85
PushModule
Method · 0.85
SafeCallString
Method · 0.85
Invoke
Method · 0.85
Calls
1
isSuspended
Method · 0.80
Tested by
no test coverage detected