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

Method frameOffsetExpr

tools/ipc_codegen/ipc_codegen.cpp:833–838  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

831 }
832
833 static std::string frameOffsetExpr(const FrameDecl& frame, size_t index) {
834 std::vector<std::string> terms;
835 for (size_t i = 0; i < index; ++i)
836 terms.push_back("sizeof(" + frame.fields[i].type + ")");
837 return sumExpr(terms);
838 }
839
840 void emitFrameDebugString(const std::string& cls, const FrameDecl& frame) {
841 out_ << " std::string DebugString() const {\n"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected