MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / getCmdLineVector

Function getCmdLineVector

src/Platform/src/Platform.Posix.cpp:168–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166 }
167
168 std::vector<std::string> getCmdLineVector(int argc, const char** argv)
169 {
170 std::vector<std::string> argvStrs;
171 argvStrs.resize(argc);
172 for (auto i = 0; i < argc; ++i)
173 {
174 argvStrs[i] = argv[i];
175 }
176 return argvStrs;
177 }
178
179 bool lockSingleInstance()
180 {

Callers 1

mainFunction · 0.50

Calls 1

resizeMethod · 0.45

Tested by

no test coverage detected