INNER CODE UNIT · C++
exitFunc
JuanDiegoMontoya/Gengine · src/engine/Engine.cpp:35
auto exitFunc = [this](const char*)
{
this->Stop();
};
auto helpFunc = [](const char* arg)
{
CmdParser parser(arg);
std::vector<CmdAtom> atoms;
Identifier* identifier = nullptr;
if (arg[0] != 0)
{
while (parser.Valid())
{
atoms.push_back(parser.NextAtom());
}
identifier = std::get_if<Identifier>(&atoms[0]);
}