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

Function GetAppResultFromAction

engine/engine/src/engine.cpp:2619–2626  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2617}
2618
2619static dmEngine::UpdateResult GetAppResultFromAction(int action)
2620{
2621 switch(action) {
2622 case dmEngine::RunResult::REBOOT: return dmEngine::RESULT_REBOOT;
2623 case dmEngine::RunResult::EXIT: return dmEngine::RESULT_EXIT;
2624 default: return dmEngine::RESULT_OK;
2625 }
2626}
2627
2628dmEngine::UpdateResult dmEngineUpdate(dmEngine::HEngine engine)
2629{

Callers 2

dmEngineUpdateFunction · 0.85
dmEngineGetResultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected