MCPcopy Create free account
hub / github.com/OpenSteam001/OpenSteamTool / findEnum

Method findEnum

tools/ipc_codegen/ipc_codegen.cpp:526–529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

524 }
525
526 static const EnumDecl* findEnum(const File& file, std::string_view name) {
527 for (const auto& decl : file.enums) if (decl.name == name) return &decl;
528 return nullptr;
529 }
530
531 static const StructDecl* findStruct(const File& file, std::string_view name) {
532 for (const auto& decl : file.structs) if (decl.name == name) return &decl;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected