MCPcopy Create free account
hub / github.com/defold/defold / Exit

Function Exit

engine/engine/src/engine.cpp:1859–1864  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1857 }
1858
1859 static void Exit(HEngine engine, int32_t code)
1860 {
1861 engine->m_Alive = false;
1862 engine->m_RunResult.m_ExitCode = code;
1863 engine->m_RunResult.m_Action = dmEngine::RunResult::EXIT;
1864 }
1865
1866 // Return true if the frame should be skipped
1867 static bool UpdateFrameThrottle(HEngine engine, float dt, bool has_input)

Callers 2

StepFrameFunction · 0.85
DispatchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected