MCPcopy Create free account
hub / github.com/diasurgical/devilution / main

Function main

SourceX/main.cpp:18–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16#endif
17
18int main(int argc, char **argv)
19{
20#ifdef RUN_TESTS
21 testing::InitGoogleTest(&argc, argv);
22 return RUN_ALL_TESTS();
23#endif
24#ifdef __SWITCH__
25 switch_enable_network();
26#endif
27
28 return dvl::DiabloMain(argc, argv);
29}

Callers

nothing calls this directly

Calls 2

switch_enable_networkFunction · 0.85
DiabloMainFunction · 0.85

Tested by

no test coverage detected