MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / main

Function main

tests/daS/dasCo/main.cpp:61–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61int main( int argc, char **argv ) {
62 // Initialize modules
63 auto env_desc = make_zeroed<skr::das::EnvironmentDescriptor>();
64 env_desc.argc = argc;
65 env_desc.argv = argv;
66 skr::das::Environment::Initialize(env_desc);
67 // run the tutorial
68 auto ret = tutorial();
69 // shut-down daScript, free all memory
70 skr::das::Environment::Finalize();
71 return ret;
72}

Callers

nothing calls this directly

Calls 2

InitializeFunction · 0.85
tutorialFunction · 0.70

Tested by

no test coverage detected