MCPcopy Create free account
hub / github.com/LunarG/VulkanTools / GetCommandLoaderId

Function GetCommandLoaderId

vkconfig_core/command_line.cpp:194–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194static CommandLoaderArg GetCommandLoaderId(const char* token) {
195 assert(token != nullptr);
196
197 for (std::size_t i = 0, n = std::size(command_loader_desc); i < n; ++i) {
198 if (std::strcmp(command_loader_desc[i].token, token) == 0) {
199 return command_loader_desc[i].arguments;
200 }
201 }
202
203 return COMMAND_LOADER_NONE;
204}
205
206static CommandDocArg GetCommandDocId(const char* token) {
207 assert(token != nullptr);

Callers 1

CommandLineMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected