MCPcopy Create free account
hub / github.com/LukasBanana/LLGL / HasArgument

Function HasArgument

examples/Cpp/ExampleBase/ExampleBase.cpp:186–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184}
185
186static bool HasArgument(const char* search, int argc, char* argv[])
187{
188 for_subrange(i, 1, argc)
189 {
190 if (::strcmp(search, argv[i]) == 0)
191 return true;
192 }
193 return false;
194}
195
196static bool ParseWindowSize(LLGL::Extent2D& size, int argc, char* argv[])
197{

Callers 2

RunMethod · 0.85
ParseProgramArgsMethod · 0.85

Calls 1

for_subrangeFunction · 0.50

Tested by

no test coverage detected