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

Function RunLoop

engine/engine/src/engine_loop.cpp:29–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27#if defined(DM_PLATFORM_IOS)
28
29 int RunLoop(const RunLoopParams* params)
30 {
31 int argc = params->m_Argc;
32 char** argv = params->m_Argv;
33 // Calls UIApplicationMain, which we won't return from
34 dmGraphics::AppBootstrap(argc, argv, params->m_AppCtx, (dmGraphics::EngineInit)params->m_AppCreate,
35 (dmGraphics::EngineExit)params->m_AppDestroy,
36 (dmGraphics::EngineCreate)params->m_EngineCreate,
37 (dmGraphics::EngineDestroy)params->m_EngineDestroy,
38 (dmGraphics::EngineUpdate)params->m_EngineUpdate,
39 (dmGraphics::EngineGetResult)params->m_EngineGetResult);
40 return 0;
41 }
42
43#else // not iOS
44

Callers 2

EngineMainFunction · 0.70
LaunchFunction · 0.50

Calls 2

AppBootstrapFunction · 0.85
freeFunction · 0.85

Tested by 1

LaunchFunction · 0.40