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

Method findStruct

tools/ipc_codegen/ipc_codegen.cpp:531–534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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;
533 return nullptr;
534 }
535
536 static const FrameField* framePayload(const FrameDecl& frame) {
537 for (const auto& field : frame.fields) if (field.payload) return &field;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected