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

Function main

tests/daS/dasTestAnnotation/test_annotation.cpp:56–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

InitializeFunction · 0.85
tutorialFunction · 0.70

Tested by

no test coverage detected