MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / main

Function main

Source/Basic/Application.cpp:1450–1459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1448#if BX_PLATFORM_OSX || BX_PLATFORM_ANDROID || BX_PLATFORM_IOS || BX_PLATFORM_LINUX
1449#ifndef DORA_AS_LIB
1450int main(int argc, char* argv[]) {
1451 if (Dora::isCliRequested(argc, argv)) {
1452 int exitCode = Dora::runCliApplication(argc, argv);
1453 Dora::Life::destroy(Slice::Empty);
1454 return exitCode;
1455 }
1456 int exitCode = SharedApplication.run();
1457 Dora::Life::destroy(Slice::Empty);
1458 return exitCode;
1459}
1460#endif // !DORA_AS_LIB
1461#endif // BX_PLATFORM_OSX || BX_PLATFORM_ANDROID || BX_PLATFORM_IOS || BX_PLATFORM_LINUX
1462

Callers

nothing calls this directly

Calls 4

isCliRequestedFunction · 0.85
runCliApplicationFunction · 0.85
runMethod · 0.65
destroyFunction · 0.50

Tested by

no test coverage detected