MCPcopy 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
80inline void AssertCoreSuspend(lua_State *state)
81{
82 assert(!Lua::IsCoreContext(state) || DFHack::Core::getInstance().isSuspended());
83}
84
85/*
86 * Lua Push methods

Callers 5

SafeCallMethod · 0.85
SafeResumeMethod · 0.85
PushModuleMethod · 0.85
SafeCallStringMethod · 0.85
InvokeMethod · 0.85

Calls 1

isSuspendedMethod · 0.80

Tested by

no test coverage detected