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

Method frameFixedSizeExpr

tools/ipc_codegen/ipc_codegen.cpp:827–831  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

825 }
826
827 static std::string frameFixedSizeExpr(const FrameDecl& frame) {
828 std::vector<std::string> terms;
829 for (const auto& field : frame.fields) terms.push_back("sizeof(" + field.type + ")");
830 return sumExpr(terms);
831 }
832
833 static std::string frameOffsetExpr(const FrameDecl& frame, size_t index) {
834 std::vector<std::string> terms;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected