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

Function GetCommandDocId

vkconfig_core/command_line.cpp:206–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206static CommandDocArg GetCommandDocId(const char* token) {
207 assert(token != nullptr);
208
209 for (std::size_t i = 0, n = std::size(command_doc_desc); i < n; ++i) {
210 if (std::strcmp(command_doc_desc[i].token, token) == 0) {
211 return command_doc_desc[i].arguments;
212 }
213 }
214
215 return COMMAND_DOC_NONE;
216}
217
218static CommandSettingsArg GetCommandSettingsArgsId(const char* token) {
219 assert(token != nullptr);

Callers 1

CommandLineMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected