MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / ParseValue

Function ParseValue

PresentMon/CommandLine.cpp:219–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217}
218
219bool ParseValue(wchar_t** argv, int argc, int* i)
220{
221 if (*i + 1 < argc) {
222 *i += 1;
223 return true;
224 }
225 PrintError(L"error: %s expecting argument.\n", argv[*i]);
226 return false;
227}
228
229bool ParseValue(wchar_t** argv, int argc, int* i, wchar_t const** value)
230{

Callers 1

ParseCommandLineFunction · 0.85

Calls 1

PrintErrorFunction · 0.85

Tested by

no test coverage detected